Commit aea9040c authored by Kun Liu's avatar Kun Liu Committed by Alex Deucher

drm/amdgpu: fix no previous prototype warning

add static prefix for vangogh_set_apu_thermal_limit function
Signed-off-by: default avatarKun Liu <Kun.Liu2@amd.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202303010827.c2N0yBGT-lkp@intel.comReviewed-by: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent db1c1a8f
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment