mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: gp10b: make local function 'static'
Fixed the following sparse warning by making the local function as static:
- symbol 'gp10b_pmu_load_multiple_falcons' was not declared.
Should it be static?
- symbol 'gp10b_load_falcon_ucode' was not declared.
Should it be static?
bug 200067946
Change-Id: I67d865aef6f57bf614db351929cd4bb1b6077c00
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/764646
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
This commit is contained in:
committed by
Deepak Nibade
parent
6a071e5ad5
commit
c965e66558
@@ -132,7 +132,7 @@ static struct pg_init_sequence_list _pginitseq_gp10b[] = {
|
||||
{0x0010e004, 0x0000008E},
|
||||
};
|
||||
|
||||
void gp10b_pmu_load_multiple_falcons(struct gk20a *g, u32 falconidmask,
|
||||
static void gp10b_pmu_load_multiple_falcons(struct gk20a *g, u32 falconidmask,
|
||||
u32 flags)
|
||||
{
|
||||
struct pmu_gk20a *pmu = &g->pmu;
|
||||
@@ -169,7 +169,7 @@ void gp10b_pmu_load_multiple_falcons(struct gk20a *g, u32 falconidmask,
|
||||
return;
|
||||
}
|
||||
|
||||
int gp10b_load_falcon_ucode(struct gk20a *g, u32 falconidmask)
|
||||
static int gp10b_load_falcon_ucode(struct gk20a *g, u32 falconidmask)
|
||||
{
|
||||
u32 flags = PMU_ACR_CMD_BOOTSTRAP_FALCON_FLAGS_RESET_YES;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user