Re: [PATCH 3/3] drm/amd/powerplay: Make two functions static

2019-10-28 Thread Yuehaibing
On 2019/10/28 22:06, Alex Deucher wrote: > On Mon, Oct 28, 2019 at 9:37 AM YueHaibing wrote: >> >> Fix sparse warnings: >> >> drivers/gpu/drm/amd/amdgpu/../powerplay/arcturus_ppt.c:2050:5: >> warning: symbol 'arcturus_i2c_eeprom_control_init' was not declared. Should >> it be static? >> driver

[PATCH 3/3] drm/amd/powerplay: Make two functions static

2019-10-28 Thread YueHaibing
Fix sparse warnings: drivers/gpu/drm/amd/amdgpu/../powerplay/arcturus_ppt.c:2050:5: warning: symbol 'arcturus_i2c_eeprom_control_init' was not declared. Should it be static? drivers/gpu/drm/amd/amdgpu/../powerplay/arcturus_ppt.c:2068:6: warning: symbol 'arcturus_i2c_eeprom_control_fini' was not

Re: [PATCH 3/3] drm/amd/powerplay: Make two functions static

2019-10-28 Thread Alex Deucher
On Mon, Oct 28, 2019 at 9:37 AM YueHaibing wrote: > > Fix sparse warnings: > > drivers/gpu/drm/amd/amdgpu/../powerplay/arcturus_ppt.c:2050:5: > warning: symbol 'arcturus_i2c_eeprom_control_init' was not declared. Should > it be static? > drivers/gpu/drm/amd/amdgpu/../powerplay/arcturus_ppt.c:206