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>
This commit is contained in:
Seshendra Gadagottu
2016-04-18 09:36:13 -07:00
committed by Ken Adams
parent c84ddceda6
commit 66f64c86a8
3 changed files with 5 additions and 0 deletions

View File

@@ -26,5 +26,8 @@ enum {
}; };
void gv11b_init_gr(struct gpu_ops *ops); void gv11b_init_gr(struct gpu_ops *ops);
int gr_gv11b_alloc_buffer(struct vm_gk20a *vm, size_t size,
struct mem_desc *mem);
#endif #endif

View File

@@ -17,6 +17,7 @@
*/ */
#include "gk20a/gk20a.h" #include "gk20a/gk20a.h"
#include "gv11b/gv11b.h"
int gv11b_init_gpu_characteristics(struct gk20a *g) int gv11b_init_gpu_characteristics(struct gk20a *g)
{ {

View File

@@ -20,6 +20,7 @@
#include "gk20a/gk20a.h" #include "gk20a/gk20a.h"
#include "gv11b/hal_gv11b.h"
#include "gv11b/gr_gv11b.h" #include "gv11b/gr_gv11b.h"
#include "gv11b/mc_gv11b.h" #include "gv11b/mc_gv11b.h"
#include "gv11b/ltc_gv11b.h" #include "gv11b/ltc_gv11b.h"