From: Lee Jones Date: Mon, 23 Nov 2020 11:18:40 +0000 (+0000) Subject: drm/radeon/radeon_device: Consume our own header where the prototypes are located X-Git-Tag: v5.11-rc1~206^2^2~183 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2aa3b7c81714ab8d3b8d8cd90a3e3cd82a87e23d;p=thirdparty%2Fkernel%2Flinux.git drm/radeon/radeon_device: Consume our own header where the prototypes are located Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/radeon_device.c:637:6: warning: no previous prototype for ‘radeon_device_is_virtual’ [-Wmissing-prototypes] Acked-by: Christian König Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index a5588b0a454ca..ebccaa5b2d0ee 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -42,6 +42,7 @@ #include #include +#include "radeon_device.h" #include "radeon_reg.h" #include "radeon.h" #include "atom.h"