From: Alex Deucher Date: Fri, 6 May 2022 14:28:09 +0000 (-0400) Subject: drm/amdgpu: make smu_v13_0_7_check_fw_status() static X-Git-Tag: microblaze-v5.20~58^2~7^2~61 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=e2ce1d9abd908d968c195a05be1d338e6fc89d84;p=linux-2.6-microblaze.git drm/amdgpu: make smu_v13_0_7_check_fw_status() static It's not used outside of the this file. Reviewed-by: Kenneth Feng Reviewed-by: Guchun Chen Reported-by: kernel test robot Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c index 0b6a4df8a6d7..583a96784558 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c @@ -292,7 +292,8 @@ static int smu_v13_0_7_store_powerplay_table(struct smu_context *smu) return 0; } -int smu_v13_0_7_check_fw_status(struct smu_context *smu) { +static int smu_v13_0_7_check_fw_status(struct smu_context *smu) +{ struct amdgpu_device *adev = smu->adev; uint32_t mp1_fw_flags;