drm/amd/pm/powerplay/hwmgr/hwmgr: Move prototype into shared header
authorLee Jones <lee.jones@linaro.org>
Fri, 8 Jan 2021 20:14:28 +0000 (20:14 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Jan 2021 21:09:13 +0000 (16:09 -0500)
commiteb315eb0bdca101a2beab49961b1e340ceea8b69
treeaf9a1202ef2711d1471f9054f121a5159014b8c5
parentec52d94f9b8e297f8960aca188f21523565e9e6f
drm/amd/pm/powerplay/hwmgr/hwmgr: Move prototype into shared header

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:5474:5: warning: no previous prototype for ‘vega10_hwmgr_init’ [-Wmissing-prototypes]

Cc: Evan Quan <evan.quan@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.h