Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Sam Ravnborg and committed by
Daniel Vetter
2f69deb1 232fadcb

+2 -1
+2 -1
drivers/gpu/drm/arc/arcpgu_sim.c
··· 14 14 * 15 15 */ 16 16 17 - #include <drm/drm_crtc_helper.h> 18 17 #include <drm/drm_atomic_helper.h> 18 + #include <drm/drm_crtc_helper.h> 19 + #include <drm/drm_device.h> 19 20 20 21 #include "arcpgu.h" 21 22