diff options
author | Kun Liu <[email protected]> | 2023-03-01 09:53:33 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-03-06 15:14:25 -0500 |
commit | aea9040c2df97a03b73a13ba124d1b6561e09c4e (patch) | |
tree | dca8bc438d1bf2fec99fa15165f74f42b8b1eab3 | |
parent | db1c1a8f0a2bb69eb9123b2d2a88cc7d3d49b13a (diff) |
drm/amdgpu: fix no previous prototype warning
add static prefix for vangogh_set_apu_thermal_limit function
Signed-off-by: Kun Liu <[email protected]>
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/oe-kbuild-all/[email protected]
Reviewed-by: Evan Quan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c index 016d5621e0b3..24046af60933 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c @@ -1597,7 +1597,7 @@ static int vangogh_get_apu_thermal_limit(struct smu_context *smu, uint32_t *limi 0, limit); } -int vangogh_set_apu_thermal_limit(struct smu_context *smu, uint32_t limit) +static int vangogh_set_apu_thermal_limit(struct smu_context *smu, uint32_t limit) { return smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetReducedThermalLimit, |