aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorBaoyou Xie <[email protected]>2016-09-06 07:17:48 +0000
committerAlex Deucher <[email protected]>2016-09-14 19:10:39 +0000
commit5cd92f86f00f8d7823bd0794f7810222ce5f6d68 (patch)
tree4d182189145bcbe886351e8e68638c081832b845 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amd/powerplay/fiji: mark symbols static where possible (diff)
downloadkernel-5cd92f86f00f8d7823bd0794f7810222ce5f6d68.tar.gz
kernel-5cd92f86f00f8d7823bd0794f7810222ce5f6d68.zip
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 <[email protected]> Signed-off-by: Baoyou Xie <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions