Skip to contentSkip to conversation

drm/amdgpu: make smu_v13_0_7_check_fw_status() static

PATCH In review Alex Deucher 3 participants 3 messages May 6, 2022 – May 7, 2022

Subsystems (3)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 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
index cf5800822174..9949ee3ae090 100644
@@ -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
maintainer Reviewed-by Kenneth Feng on v1 1/1
#1 lore raw

[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
index cf5800822174..9949ee3ae090 100644
@@ -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

Reviewed-by on v1 1/1
#2 lore raw
In reply to Alex Deucher

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
index cf5800822174..9949ee3ae090 100644
@@ -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