mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: pmgr: fix sparse warning
Make function as static to fix below sparse warning: - $TOP/kernel/nvgpu/drivers/gpu/nvgpu/pmgr/pmgrpmu.c:275:5: warning: symbol 'pmgr_send_pwr_policy_to_pmu' was not declared. Should it be static? Bug 200299572 Change-Id: I1734c76d0e7ed7d9e5a266d68e0d8e8209952e17 Signed-off-by: Sachin Nikam <snikam@nvidia.com> Reviewed-on: http://git-master/r/1482956 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
2961b67f62
commit
65de2a2d65
@@ -272,7 +272,7 @@ exit:
|
||||
return status;
|
||||
}
|
||||
|
||||
u32 pmgr_send_pwr_policy_to_pmu(struct gk20a *g)
|
||||
static u32 pmgr_send_pwr_policy_to_pmu(struct gk20a *g)
|
||||
{
|
||||
struct nv_pmu_pmgr_pwr_policy_pack *ppwrpack = NULL;
|
||||
struct pwr_policy *ppolicy = NULL;
|
||||
|
||||
Reference in New Issue
Block a user