summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2016-04-18 12:36:13 -0400
committerKen Adams <kadams@nvidia.com>2016-04-19 11:55:16 -0400
commit66f64c86a838bb9bfec049e3676debd8998e8b08 (patch)
treef2c05a8e7d2a6c4effaef863b5f32e569c2290ce /drivers/gpu/nvgpu/gv11b/gr_gv11b.h
parentc84ddceda648d6e47828115654ca7745010ec09f (diff)
gpu: nvgpu: gv11b: fix sparse warnings
Fixed following sparse warnings: drivers/gpu/nvgpu/gv11b/gv11b.c:21:5: warning: symbol 'gv11b_init_gpu_characteristics' was not declared. Should it be static? drivers/gpu/nvgpu/gv11b/hal_gv11b.c:36:5: warning: symbol 'gv11b_init_hal' was not declared. Should it be static? drivers/gpu/nvgpu/gv11b/gr_gv11b.c:766:5: warning: symbol 'gr_gv11b_alloc_buffer' was not declared. Should it be static? Bug 200088648 Change-Id: I327f9d69bf1853727d74d2c125cfab54c2f0e5b0 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1128299 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Ken Adams <kadams@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
index c8912f91..11f5fb47 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
@@ -26,5 +26,8 @@ enum {
26}; 26};
27 27
28void gv11b_init_gr(struct gpu_ops *ops); 28void gv11b_init_gr(struct gpu_ops *ops);
29int gr_gv11b_alloc_buffer(struct vm_gk20a *vm, size_t size,
30 struct mem_desc *mem);
31
29 32
30#endif 33#endif