summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-11-16 17:36:38 +0000
committerAlex Deucher <alexander.deucher@amd.com>2020-11-16 15:56:34 -0500
commit5561ecba10b9f1efb668430c747de11a27bcbc2f (patch)
tree495a32db99cb731ef06a2398ddaf023201c7c5d0 /drivers/gpu/drm/radeon/r600.c
parentef072392682eea70d0d055724626ce5bb5bd94cc (diff)
downloadlinux-stable-5561ecba10b9f1efb668430c747de11a27bcbc2f.tar.gz
linux-stable-5561ecba10b9f1efb668430c747de11a27bcbc2f.tar.bz2
linux-stable-5561ecba10b9f1efb668430c747de11a27bcbc2f.zip
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600.c')
-rw-r--r--drivers/gpu/drm/radeon/r600.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index f09b6dc5cbeb..94e8815e5067 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -39,6 +39,7 @@
#include "atom.h"
#include "avivod.h"
+#include "r600.h"
#include "r600d.h"
#include "rv770.h"
#include "radeon.h"