OSDN Git Service

drm/radeon/r600_dma: Move 'r600_gpu_check_soft_reset()'s prototype to shared location
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Nov 2020 17:36:38 +0000 (17:36 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2020 20:56:34 +0000 (15:56 -0500)
commit5561ecba10b9f1efb668430c747de11a27bcbc2f
tree495a32db99cb731ef06a2398ddaf023201c7c5d0
parentef072392682eea70d0d055724626ce5bb5bd94cc
drm/radeon/r600_dma: Move 'r600_gpu_check_soft_reset()'s prototype to shared location

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

 drivers/gpu/drm/radeon/r600.c:1615:5: warning: no previous prototype for ‘r600_gpu_check_soft_reset’ [-Wmissing-prototypes]
 1615 | u32 r600_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: Sumit Semwal <sumit.semwal@linaro.org>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600.h [new file with mode: 0644]
drivers/gpu/drm/radeon/r600_dma.c