Commit 8f8150fa authored by Souptick Joarder's avatar Souptick Joarder Committed by Alex Deucher

drm: amdgpu: pm: Mark vangogh_clk_dpm_is_enabled() as static

kernel test robot throws below warnings ->

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:594:6:
warning: no previous prototype for 'vangogh_clk_dpm_is_enabled'
[-Wmissing-prototypes]
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:594:6:
warning: no previous prototype for function 'vangogh_clk_dpm_is_enabled'
[-Wmissing-prototypes]

Mark vangogh_clk_dpm_is_enabled() as static.
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarSouptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 78683229
...@@ -585,7 +585,7 @@ static int vangogh_get_profiling_clk_mask(struct smu_context *smu, ...@@ -585,7 +585,7 @@ static int vangogh_get_profiling_clk_mask(struct smu_context *smu,
return 0; return 0;
} }
bool vangogh_clk_dpm_is_enabled(struct smu_context *smu, static bool vangogh_clk_dpm_is_enabled(struct smu_context *smu,
enum smu_clk_type clk_type) enum smu_clk_type clk_type)
{ {
enum smu_feature_mask feature_id = 0; enum smu_feature_mask feature_id = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment