gpu: nvgpu: gv11b: fix sparse warning

Fix following sparse warning my making funtion as static:

$TOP/kernel/nvgpu-t19x/drivers/gpu/nvgpu/gv11b/mm_gv11b.c:23:6:
warning: symbol 'gv11b_mm_is_bar1_supported' was not declared.
Should it be static?

Bug 200088648

Change-Id: I4af7ed1ae112813887a14a11b8fcea0b72c90e39
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1236689
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
seshendra Gadagottu
2016-10-14 05:05:16 -07:00
committed by mobile promotions
parent ac5383e76e
commit 2de62a6083

View File

@@ -20,7 +20,7 @@
#include "mm_gv11b.h" #include "mm_gv11b.h"
#include "hw_fb_gv11b.h" #include "hw_fb_gv11b.h"
bool gv11b_mm_is_bar1_supported(struct gk20a *g) static bool gv11b_mm_is_bar1_supported(struct gk20a *g)
{ {
return false; return false;
} }