summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2015-04-06 07:02:29 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:05 -0500
commit0158c380376722636ff696543071427ef3d3739f (patch)
tree5314d21253ed4a4a440f96348bd127b84f156db9 /drivers/gpu/nvgpu/gp10b/mm_gp10b.c
parent11c589070272d34763559014f1c11738028823a8 (diff)
gpu: nvgpu: gp10b: fix sparse warnings of static symbol
Fix sparse warnings of below type by making necessary symbols static: warning: symbol '<symbol>' was not declared. Should it be static? Bug 200088648 Change-Id: Ic20ef3eb73dcbfe5f13506b5afa629c3e1db59d0 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/728012 GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mm_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/mm_gp10b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
index c316aa9f..e3e2c173 100644
--- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
@@ -21,7 +21,7 @@
21#include "hw_ram_gp10b.h" 21#include "hw_ram_gp10b.h"
22#include "hw_bus_gp10b.h" 22#include "hw_bus_gp10b.h"
23 23
24u32 gp10b_mm_get_physical_addr_bits(struct gk20a *g) 24static u32 gp10b_mm_get_physical_addr_bits(struct gk20a *g)
25{ 25{
26 return 36; 26 return 36;
27} 27}