summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-01-19 09:40:11 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-01-24 13:06:54 +0100
commit2f69deb1d9a13f454f14044cc560b5b7dccb17d3 (patch)
tree8c91263a6deb61a89bb9fcbcac9edeb6ab25571b
parentdrm/hisilicon/kirin: prepare for drmP.h removal from drm_modeset_helper.h (diff)
downloadlinux-2f69deb1d9a13f454f14044cc560b5b7dccb17d3.tar.xz
linux-2f69deb1d9a13f454f14044cc560b5b7dccb17d3.zip
drm/arcpgu: prepare for drmP.h removal from drm_modeset_helper.h
The use of drmP.h is discouraged and removal of it from drm_modeset_helper.h caused arcgpu to fail to build. This patch introduce the necessary fixes to prepare for the drmP.h removal from drm_modeset_helper.h. List of include files sorted alphabetically. Build tested on arm x86 and arm allmodconfig. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190119084014.5355-4-sam@ravnborg.org
-rw-r--r--drivers/gpu/drm/arc/arcpgu_sim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arc/arcpgu_sim.c b/drivers/gpu/drm/arc/arcpgu_sim.c
index 6530d88f7293..b1119bc62630 100644
--- a/drivers/gpu/drm/arc/arcpgu_sim.c
+++ b/drivers/gpu/drm/arc/arcpgu_sim.c
@@ -14,8 +14,9 @@
*
*/
-#include <drm/drm_crtc_helper.h>
#include <drm/drm_atomic_helper.h>
+#include <drm/drm_crtc_helper.h>
+#include <drm/drm_device.h>
#include "arcpgu.h"