summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/bus_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/bus_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/bus_gm20b.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/bus_gm20b.c b/drivers/gpu/nvgpu/gm20b/bus_gm20b.c
index 11c11e23..0da19db8 100644
--- a/drivers/gpu/nvgpu/gm20b/bus_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/bus_gm20b.c
@@ -22,7 +22,7 @@
22 22
23#include <nvgpu/hw/gm20b/hw_bus_gm20b.h> 23#include <nvgpu/hw/gm20b/hw_bus_gm20b.h>
24 24
25static int gm20b_bus_bar1_bind(struct gk20a *g, struct nvgpu_mem *bar1_inst) 25int gm20b_bus_bar1_bind(struct gk20a *g, struct nvgpu_mem *bar1_inst)
26{ 26{
27 struct nvgpu_timeout timeout; 27 struct nvgpu_timeout timeout;
28 int err = 0; 28 int err = 0;
@@ -53,12 +53,3 @@ static int gm20b_bus_bar1_bind(struct gk20a *g, struct nvgpu_mem *bar1_inst)
53 53
54 return err; 54 return err;
55} 55}
56
57void gm20b_init_bus(struct gpu_ops *gops)
58{
59 gops->bus.init_hw = gk20a_bus_init_hw;
60 gops->bus.isr = gk20a_bus_isr;
61 gops->bus.read_ptimer = gk20a_read_ptimer;
62 gops->bus.get_timestamps_zipper = nvgpu_get_timestamps_zipper;
63 gops->bus.bar1_bind = gm20b_bus_bar1_bind;
64}