summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/pmu_gp106.c
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2016-06-29 06:00:17 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:18 -0500
commitbcf321ed1fe4da2ebb5ef34c09c545cf025ac419 (patch)
treed70a46251c21d3a8b5635108337e0eaaf93676cc /drivers/gpu/nvgpu/gp106/pmu_gp106.c
parentd459bd68a6ea0462b7db58722d5ee26c9ce1dd73 (diff)
gpu: nvgpu: fixing sparse error/warning
nvgpu/gp106/pmu_gp106.c:30:5: warning: symbol 'gp106_pmu_enable_hw' was not declared. Should it be static? nvgpu/gp106/pmu_gp106.c:118:5: warning: symbol 'gp106_pmu_reset' was not declared. Should it be static? nvgpu/gp106/pmu_gp106.c:146:5: warning: symbol 'gp106_sec2_reset' was not declared. Should it be static? nvgpu/gp106/acr_gp106.c:79:6: warning: symbol 'gp106_wpr_info' was not declared. Should it be static? nvgpu/gp106/acr_gp106.c:92:5: warning: symbol 'gp106_alloc_blob_space' was not declared. Should it be static? nvgpu/gp106/acr_gp106.c:120:5: warning: symbol 'pmu_ucode_details' was not declared. Should it be static? nvgpu/gp106/acr_gp106.c:187:5: warning: symbol 'fecs_ucode_details' was not declared. Should it be static? nvgpu/gp106/acr_gp106.c:265:5: warning: symbol 'gpccs_ucode_details' was not declared. Should it be static? nvgpu/gp106/acr_gp106.c:348:5: warning: symbol 'gp106_prepare_ucode_blob' was not declared. Should it be static? nvgpu/gp106/acr_gp106.c:1011:5: warning: symbol 'gp106_bootstrap_hs_flcn' was not declared. Should it be static? Bug 200088648 Change-Id: I13716e39f540f8674b1c0f917048bb6b63f7b763 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1173076 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/pmu_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/pmu_gp106.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp106/pmu_gp106.c b/drivers/gpu/nvgpu/gp106/pmu_gp106.c
index be3e8c64..f6fcd234 100644
--- a/drivers/gpu/nvgpu/gp106/pmu_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/pmu_gp106.c
@@ -27,7 +27,7 @@
27#define PMU_MEM_SCRUBBING_TIMEOUT_MAX 1000 27#define PMU_MEM_SCRUBBING_TIMEOUT_MAX 1000
28#define PMU_MEM_SCRUBBING_TIMEOUT_DEFAULT 10 28#define PMU_MEM_SCRUBBING_TIMEOUT_DEFAULT 10
29 29
30int gp106_pmu_enable_hw(struct pmu_gk20a *pmu, bool enable) 30static int gp106_pmu_enable_hw(struct pmu_gk20a *pmu, bool enable)
31{ 31{
32 struct gk20a *g = gk20a_from_pmu(pmu); 32 struct gk20a *g = gk20a_from_pmu(pmu);
33 33
@@ -115,7 +115,7 @@ static int pmu_enable(struct pmu_gk20a *pmu, bool enable)
115 return 0; 115 return 0;
116} 116}
117 117
118int gp106_pmu_reset(struct gk20a *g) 118static int gp106_pmu_reset(struct gk20a *g)
119{ 119{
120 struct pmu_gk20a *pmu = &g->pmu; 120 struct pmu_gk20a *pmu = &g->pmu;
121 int err = 0; 121 int err = 0;
@@ -143,7 +143,7 @@ int gp106_pmu_reset(struct gk20a *g)
143 return err; 143 return err;
144} 144}
145 145
146int gp106_sec2_reset(struct gk20a *g) 146static int gp106_sec2_reset(struct gk20a *g)
147{ 147{
148 gk20a_dbg_fn(""); 148 gk20a_dbg_fn("");
149 //sec2 reset 149 //sec2 reset