summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
diff options
context:
space:
mode:
authorAmit Sharma (SW-TEGRA) <amisharma@nvidia.com>2015-07-04 07:46:30 -0400
committerSachin Nikam <snikam@nvidia.com>2015-07-10 01:44:08 -0400
commit51c784d9a12d6c9f98991bab647aa22febb93de9 (patch)
tree53bf2b1a0976414e498ef232f2527ce25090cc37 /drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
parent16aaae648b4f5d236b597fd4d5d9bcda8d52078f (diff)
nvgpu: gm20b: make local function 'static'
Fixed the following sparse warning by making the local function 'static': - warning: symbol 'gm20b_load_falcon_ucode' was not declared. Should it be static? Bug 200067946 Change-Id: I11beaa301dc45dfec6f2295a6a96c1571e0264c9 Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com> Reviewed-on: http://git-master/r/766361 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-on: http://git-master/r/767991 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/pmu_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/pmu_gm20b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
index ac19e99c..c3aad72b 100644
--- a/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/pmu_gm20b.c
@@ -253,7 +253,7 @@ void gm20b_pmu_load_lsf(struct gk20a *g, u32 falcon_id, u32 flags)
253 return; 253 return;
254} 254}
255 255
256int gm20b_load_falcon_ucode(struct gk20a *g, u32 falconidmask) 256static int gm20b_load_falcon_ucode(struct gk20a *g, u32 falconidmask)
257{ 257{
258 u32 err = 0; 258 u32 err = 0;
259 u32 flags = PMU_ACR_CMD_BOOTSTRAP_FALCON_FLAGS_RESET_YES; 259 u32 flags = PMU_ACR_CMD_BOOTSTRAP_FALCON_FLAGS_RESET_YES;