mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
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:
committed by
Ken Adams
parent
c84ddceda6
commit
66f64c86a8
@@ -26,5 +26,8 @@ enum {
|
||||
};
|
||||
|
||||
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
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include "gk20a/gk20a.h"
|
||||
#include "gv11b/gv11b.h"
|
||||
|
||||
int gv11b_init_gpu_characteristics(struct gk20a *g)
|
||||
{
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "gk20a/gk20a.h"
|
||||
|
||||
#include "gv11b/hal_gv11b.h"
|
||||
#include "gv11b/gr_gv11b.h"
|
||||
#include "gv11b/mc_gv11b.h"
|
||||
#include "gv11b/ltc_gv11b.h"
|
||||
|
||||
Reference in New Issue
Block a user