On Mon, Sep 19, 2016 at 03:28:39PM +0800, Baoyou Xie wrote:
> We get a few warnings when building kernel with W=1:
> drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.c:146:5: warning:
> no previous prototype for 'tonga_program_jump_on_start' [-Wmissing-prototypes]
> drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:816:5: warning:
> no previous prototype for 'fiji_save_vft_table' [-Wmissing-prototypes]
> warning: no previous prototype for 'polaris10_avfs_event_mgr'
> warning: no previous prototype for 'iceland_program_jump_on_start'
> 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'.
+ amd-gfx mail list.
Thanks to your patch. But powerplay part is refactored recently below, some
functions are already updated. So you might need rebase them. :-)