diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-04-18 12:36:13 -0400 |
---|---|---|
committer | Ken Adams <kadams@nvidia.com> | 2016-04-19 11:55:16 -0400 |
commit | 66f64c86a838bb9bfec049e3676debd8998e8b08 (patch) | |
tree | f2c05a8e7d2a6c4effaef863b5f32e569c2290ce /drivers/gpu/nvgpu/gv11b/gr_gv11b.h | |
parent | c84ddceda648d6e47828115654ca7745010ec09f (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.h | 3 |
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 | ||
28 | void gv11b_init_gr(struct gpu_ops *ops); | 28 | void gv11b_init_gr(struct gpu_ops *ops); |
29 | int gr_gv11b_alloc_buffer(struct vm_gk20a *vm, size_t size, | ||
30 | struct mem_desc *mem); | ||
31 | |||
29 | 32 | ||
30 | #endif | 33 | #endif |