summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
authorAmit Sharma (SW-TEGRA) <amisharma@nvidia.com>2015-03-18 00:25:30 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 22:00:32 -0400
commit5b28f2fe75328ad7a060d987f3b988521706056e (patch)
tree818861ca8ab1f4121c32cdeca871c80373057563 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c
parentd86fc5414beb6758d0b04ec78dd6589411dda66d (diff)
gpu: nvgpu: make the local function static
Fixed the following sparse warnings by making below APIs static: - gk20a.c: warning: symbol 'gk20a_pm_restore_debug_setting' was not declared. Should it be static? - gr_gk20a.c: warning: symbol 'gr_gk20a_rop_l2_en_mask' was not declared. Should it be static? - gr_gm20b.c: warning: symbol 'gr_gm20b_rop_l2_en_mask' was not declared. Should it be static? Bug 200067946 Change-Id: I334893bb6614171bff835d270716a7dd262c9ba7 Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com> Reviewed-on: http://git-master/r/718756 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index a160942f..b5de90c0 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -7258,7 +7258,7 @@ static u32 gr_gk20a_get_max_lts_per_ltc(struct gk20a *g)
7258 return 1; 7258 return 1;
7259} 7259}
7260 7260
7261u32 *gr_gk20a_rop_l2_en_mask(struct gk20a *g) 7261static u32 *gr_gk20a_rop_l2_en_mask(struct gk20a *g)
7262{ 7262{
7263 /* gk20a doesnt have rop_l2_en_mask */ 7263 /* gk20a doesnt have rop_l2_en_mask */
7264 return NULL; 7264 return NULL;