drm: drop drmP.h include from drm_crtc.c
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Sep 2018 13:57:08 +0000 (15:57 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 9 Sep 2018 12:19:18 +0000 (14:19 +0200)
This is starting to become easy!

v2: Compiles now, with drm/drm_util.h extracted.

v3: Fix up commit message (Sam Ravnborg)

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180905135711.28370-4-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_crtc.c

index bae43938c8f6128ce29d75ee03a84c310c779621..2f6c877299e42d0b1f6adf8b5c97daef67a710e0 100644 (file)
@@ -34,7 +34,7 @@
 #include <linux/slab.h>
 #include <linux/export.h>
 #include <linux/dma-fence.h>
-#include <drm/drmP.h>
+#include <linux/uaccess.h>
 #include <drm/drm_crtc.h>
 #include <drm/drm_edid.h>
 #include <drm/drm_fourcc.h>
@@ -42,6 +42,9 @@
 #include <drm/drm_atomic.h>
 #include <drm/drm_auth.h>
 #include <drm/drm_debugfs_crc.h>
+#include <drm/drm_drv.h>
+#include <drm/drm_print.h>
+#include <drm/drm_file.h>
 
 #include "drm_crtc_internal.h"
 #include "drm_internal.h"