diff options
author | Nirmoy Das <nirmoy.das@amd.com> | 2020-06-18 15:06:00 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 01:59:23 -0400 |
commit | 38ed7b09833e0c6d954b69b7a1e796ebe66c6073 (patch) | |
tree | b6209e13a2d83095d47071f1594f726757bd219f /drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c | |
parent | drm/amdkfd: label internally used symbols as static (diff) | |
download | wireguard-linux-38ed7b09833e0c6d954b69b7a1e796ebe66c6073.tar.xz wireguard-linux-38ed7b09833e0c6d954b69b7a1e796ebe66c6073.zip |
drm/powerplay: label internally used symbols as static
Used sparse(make C=1) to find these loose ends.
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c index c85806a6f62e..c15b9756025d 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c @@ -251,7 +251,7 @@ int vega12_thermal_stop_thermal_controller(struct pp_hwmgr *hwmgr) * @param Result the last failure code * @return result from set temperature range routine */ -int vega12_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) +static int vega12_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) { int ret; struct vega12_hwmgr *data = (struct vega12_hwmgr *)(hwmgr->backend); @@ -274,7 +274,7 @@ int vega12_thermal_setup_fan_table(struct pp_hwmgr *hwmgr) * @param Result the last failure code * @return result from set temperature range routine */ -int vega12_thermal_start_smc_fan_control(struct pp_hwmgr *hwmgr) +static int vega12_thermal_start_smc_fan_control(struct pp_hwmgr *hwmgr) { /* If the fantable setup has failed we could have disabled * PHM_PlatformCaps_MicrocodeFanControl even after |