summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/bus_gk20a.c
diff options
context:
space:
mode:
authorShashank Singh <shashsingh@nvidia.com>2018-04-05 08:20:41 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-04-07 07:32:45 -0400
commit546e77812150fbcab601b529b053758f58d02bc1 (patch)
tree2d17947eedd399e6446f298bd47d6a46832af8ca /drivers/gpu/nvgpu/gk20a/bus_gk20a.c
parentaeaa7c982662c98d2477b5cfb9fb5242d5f540b5 (diff)
nvgpu: remove gk20a_init_bus function
- gk20a_init_bus is not called from nvgpu, better remove it so that qnx can build bus_gk20a.c. QNX otherwise require declaration for non-static functions. Change-Id: I2a6dff951ae0b4ea1193ca05435b5587f8172b1e Signed-off-by: Shashank Singh <shashsingh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1689261 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/bus_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/bus_gk20a.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/bus_gk20a.c b/drivers/gpu/nvgpu/gk20a/bus_gk20a.c
index 60481544..81a5facc 100644
--- a/drivers/gpu/nvgpu/gk20a/bus_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/bus_gk20a.c
@@ -172,12 +172,3 @@ int gk20a_bus_bar1_bind(struct gk20a *g, struct nvgpu_mem *bar1_inst)
172 172
173 return 0; 173 return 0;
174} 174}
175
176void gk20a_init_bus(struct gpu_ops *gops)
177{
178 gops->bus.init_hw = gk20a_bus_init_hw;
179 gops->bus.isr = gk20a_bus_isr;
180 gops->bus.read_ptimer = gk20a_read_ptimer;
181 gops->bus.get_timestamps_zipper = nvgpu_get_timestamps_zipper;
182 gops->bus.bar1_bind = gk20a_bus_bar1_bind;
183}