drm/radeon/si_dma: Move 'si_gpu_check_soft_reset()'s prototype to shared header
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Nov 2020 17:36:47 +0000 (17:36 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2020 20:56:34 +0000 (15:56 -0500)
commitd339e96528d2c832f4fc2cfe002d38fb162f7c30
tree46b8c92ead22bc10790a8c7d266c6d43b71a8c2e
parentd93a3c2733e5a4450ba586d4e1199d6a60984cdc
drm/radeon/si_dma: Move 'si_gpu_check_soft_reset()'s prototype to shared header

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

 drivers/gpu/drm/radeon/si.c:3768:5: warning: no previous prototype for ‘si_gpu_check_soft_reset’ [-Wmissing-prototypes]
 3768 | u32 si_gpu_check_soft_reset(struct radeon_device *rdev)
 | ^~~~~~~~~~~~~~~~~~~~~~~

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/radeon/si.h
drivers/gpu/drm/radeon/si_dma.c