OpenCloudOS-Kernel/drivers/gpu/drm/amd
Baoyou Xie 5cd92f86f0 drm/amd/powerplay/polaris10: mark symbols static where possible
We get a few warnings when building kernel with W=1:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/polaris10_clockpowergating.c:34:5: warning: no previous prototype
for 'polaris10_phm_powerup_uvd' [-Wmissing-prototypes]
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/polaris10_thermal.c:428:5: warning: no previous prototype
for 'tf_polaris10_thermal_setup_fan_table' [-Wmissing-prototypes]
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/polaris10_hwmgr.c:125:31: warning: no previous prototype
for 'cast_phw_polaris10_power_state' [-Wmissing-prototypes]
....

In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-09-14 15:10:39 -04:00
..
acp drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU 2016-05-25 09:44:15 -04:00
amdgpu drm/amdgpu: mark symbols static where possible 2016-09-14 15:10:37 -04:00
amdkfd drm/amdkfd: destroy mutex if process creation fails 2016-07-03 08:05:45 +03:00
include drm/amdgpu: add si dpm support in amdgpu_atombios 2016-08-31 15:21:07 -04:00
powerplay drm/amd/powerplay/polaris10: mark symbols static where possible 2016-09-14 15:10:39 -04:00
scheduler drm/amd: fix deadlock of job_list_lock V2 2016-07-29 14:37:06 -04:00