diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2022-05-06 17:28:09 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-11 00:53:11 +0300 |
commit | e2ce1d9abd908d968c195a05be1d338e6fc89d84 (patch) | |
tree | a8f14d43d541a5ce5e32c5b07ecd370f1dfc63fb | |
parent | 4bef1abe74ceab5bc647e6a04453d3772af802dd (diff) | |
download | linux-e2ce1d9abd908d968c195a05be1d338e6fc89d84.tar.xz |
drm/amdgpu: make smu_v13_0_7_check_fw_status() static
It's not used outside of the this file.
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |