summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-11-29 19:14:19 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-30 16:17:44 -0500
commit903df9b59705f7ebbb66fb2912c1419a0c992368 (patch)
tree3252b476182ea8f74ee9ba5c46068dba7f85ee5a
parent331762a7e78924296dacb4c1465e67679d4b57f7 (diff)
gpu: nvgpu: gv11b: fix sparse warning
Fix following sparse warning by making function as static: $TOP/kernel/nvgpu-t19x/drivers/gpu/nvgpu/gv11b/gr_gv11b.c:1529:5: warning: symbol 'gr_gv11b_setup_rop_mapping' was not declared. Should it be static? Bug 200088648 Change-Id: Idd388170f35e7e6cd7559d8aab8968f7e8e545c6 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1261891 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
index f60337e2..7f5b8d3f 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
@@ -1526,7 +1526,7 @@ static u32 gv11b_mask_hww_warp_esr(u32 hww_warp_esr)
1526 return hww_warp_esr; 1526 return hww_warp_esr;
1527} 1527}
1528 1528
1529int gr_gv11b_setup_rop_mapping(struct gk20a *g, struct gr_gk20a *gr) 1529static int gr_gv11b_setup_rop_mapping(struct gk20a *g, struct gr_gk20a *gr)
1530{ 1530{
1531 u32 map; 1531 u32 map;
1532 u32 i, j, mapregs; 1532 u32 i, j, mapregs;