diff options
author | Amit Sharma (SW-TEGRA) <amisharma@nvidia.com> | 2015-07-04 07:46:30 -0400 |
---|---|---|
committer | Sachin Nikam <snikam@nvidia.com> | 2015-07-10 01:44:08 -0400 |
commit | 51c784d9a12d6c9f98991bab647aa22febb93de9 (patch) | |
tree | 53bf2b1a0976414e498ef232f2527ce25090cc37 /drivers/gpu/nvgpu | |
parent | 16aaae648b4f5d236b597fd4d5d9bcda8d52078f (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')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/pmu_gm20b.c | 2 |
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 | ||
256 | int gm20b_load_falcon_ucode(struct gk20a *g, u32 falconidmask) | 256 | static 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; |