drm/arcpgu: prepare for drmP.h removal from drm_modeset_helper.h
authorSam Ravnborg <sam@ravnborg.org>
Sat, 19 Jan 2019 08:40:11 +0000 (09:40 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Jan 2019 12:06:54 +0000 (13:06 +0100)
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
drivers/gpu/drm/arc/arcpgu_sim.c

index 6530d88f72939f04fd51e5e7f6e7dc682aa45c08..b1119bc62630d3f22e49a0cfb4c1838b7bb470e6 100644 (file)
@@ -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"