[PATCH] drm/amd/powerplay/fiji: mark symbols static where possible

2016-09-06 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/fiji_hwmgr.c:1633:9: warning: no previous prototype for 'fiji_get_voltage_index' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/fiji_hwmgr.c:5412:5: warning: no previous protot

[PATCH] drm/amd/powerplay/fiji: mark symbols static where possible

2016-09-06 Thread Christian König
Am 06.09.2016 um 08:16 schrieb Baoyou Xie: > We get a few warnings when building kernel with W=1: > drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/fiji_hwmgr.c:1633:9: warning: > no previous prototype > for 'fiji_get_voltage_index' [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../powerplay/hw