]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/ni_dma: Move 'cayman_gpu_check_soft_reset()'s prototype to shared header
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Nov 2020 17:36:42 +0000 (17:36 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2020 20:56:34 +0000 (15:56 -0500)
commitc49dcdf964a50c05efbcaad4f21bdb66d95c13e5
tree7564e3f00c452404e5a7a7fe132790643b03ec59
parent2c2d11e9d475901f2e330320cb9d4ddc0cfdb68e
drm/radeon/ni_dma: Move 'cayman_gpu_check_soft_reset()'s prototype to shared header

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

 drivers/gpu/drm/radeon/ni.c:1733:5: warning: no previous prototype for ‘cayman_gpu_check_soft_reset’ [-Wmissing-prototypes]
 1733 | u32 cayman_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/ni.h
drivers/gpu/drm/radeon/ni_dma.c