diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-04-06 07:02:29 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:05 -0500 |
commit | 0158c380376722636ff696543071427ef3d3739f (patch) | |
tree | 5314d21253ed4a4a440f96348bd127b84f156db9 /drivers/gpu/nvgpu/gp10b/mm_gp10b.c | |
parent | 11c589070272d34763559014f1c11738028823a8 (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.c | 2 |
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 | ||
24 | u32 gp10b_mm_get_physical_addr_bits(struct gk20a *g) | 24 | static u32 gp10b_mm_get_physical_addr_bits(struct gk20a *g) |
25 | { | 25 | { |
26 | return 36; | 26 | return 36; |
27 | } | 27 | } |