drm/amdgpu: make smu_v13_0_7_check_fw_status() static
Subsystems (3)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu: make smu_v13_0_7_check_fw_status() static
It's not used outside of the this file.
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +1 -1
@@ -291,7 +291,7 @@ 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;
Signature · 1 line
2.35.1
[AMD Official Use Only - General]
Best wishes
Kenneth Feng
发件人: amd-gfx <[email protected]> 代表 Alex Deucher <[email protected]> 日期: 星期五, 2022年5月6日 22:33
收件人: [email protected] <[email protected]>
抄送: Deucher, Alexander <[email protected]>, kernel test robot <[email protected]> 主题: [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static
[CAUTION: External Email]
It's not used outside of the this file.
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +1 -1
@@ -291,7 +291,7 @@ 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;
--
2.35.1
Regards,
Guchun
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Friday, May 6, 2022 10:33 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; kernel test robot <[email protected]>
Subject: [PATCH] drm/amdgpu: make smu_v13_0_7_check_fw_status() static
It's not used outside of the this file.
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +1 -1
@@ -291,7 +291,7 @@ 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;
Signature · 1 line
2.35.1