summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/r128/r128_state.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-06-05 16:13:21 +0200
committerSam Ravnborg <sam@ravnborg.org>2019-06-05 20:31:19 +0200
commit7f1d39efa66f1fbb3d22244b46198e23499a75a3 (patch)
tree1f0c11ee947bdcd221b76c5e820a2b2cb82a5418 /drivers/gpu/drm/r128/r128_state.c
parent3c1aa3b3872788f0cc567d7d9046039b95654a51 (diff)
downloadblackbird-op-linux-7f1d39efa66f1fbb3d22244b46198e23499a75a3.tar.gz
blackbird-op-linux-7f1d39efa66f1fbb3d22244b46198e23499a75a3.zip
drm/r128: drop use of drmP.h
Drop use of the deprecated drmP.h header file. Replace it with relevant include files. Sort include files in files touched. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Daniel Vetter <daniel@ffwll.ch> Cc: David Airlie <airlied@linux.ie> Link: https://patchwork.freedesktop.org/patch/msgid/20190605141321.17819-3-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/r128/r128_state.c')
-rw-r--r--drivers/gpu/drm/r128/r128_state.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/gpu/drm/r128/r128_state.c b/drivers/gpu/drm/r128/r128_state.c
index 2535ea8d2d9b..9d74c9d914cb 100644
--- a/drivers/gpu/drm/r128/r128_state.c
+++ b/drivers/gpu/drm/r128/r128_state.c
@@ -28,8 +28,15 @@
* Gareth Hughes <gareth@valinux.com>
*/
-#include <drm/drmP.h>
+#include <linux/pci.h>
+#include <linux/slab.h>
+#include <linux/uaccess.h>
+
+#include <drm/drm_device.h>
+#include <drm/drm_file.h>
+#include <drm/drm_print.h>
#include <drm/r128_drm.h>
+
#include "r128_drv.h"
/* ================================================================
OpenPOWER on IntegriCloud