]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08b3379807156d01ca4729c359b08cf79a494ffc
treeaf9a1202ef2711d1471f9054f121a5159014b8c5
parent976c3cd6527e01334306ad60f1ea138ed22ac79e
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