summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sis/sis_mm.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-06-05 15:55:39 +0200
committerSam Ravnborg <sam@ravnborg.org>2019-06-05 20:29:57 +0200
commit1b36d506fc82c7615852eca149c6a533a5260a00 (patch)
treeaaff911df44d178b888d04fc5c8e5aeffc430f96 /drivers/gpu/drm/sis/sis_mm.c
parent4b013bb2d3a4a3104360746d2326d1408d179e72 (diff)
downloadlinux-stable-1b36d506fc82c7615852eca149c6a533a5260a00.tar.gz
linux-stable-1b36d506fc82c7615852eca149c6a533a5260a00.tar.bz2
linux-stable-1b36d506fc82c7615852eca149c6a533a5260a00.zip
drm/sis: drop drmP.h use
Drop use of the deprecated drmP.h header. Repalced with relevant header files and sorted header files in all files touched. Replaced DRM_{READ,WRITE} to avoid the drm_os_linux header. Build tested with allyesconfig, allmodconfig on various architectures. 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/20190605135539.12940-2-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/sis/sis_mm.c')
-rw-r--r--drivers/gpu/drm/sis/sis_mm.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/drm/sis/sis_mm.c b/drivers/gpu/drm/sis/sis_mm.c
index 1622db24cd39..e51d4289a3d0 100644
--- a/drivers/gpu/drm/sis/sis_mm.c
+++ b/drivers/gpu/drm/sis/sis_mm.c
@@ -31,11 +31,14 @@
* Thomas Hellström <thomas-at-tungstengraphics-dot-com>
*/
-#include <drm/drmP.h>
+#include <video/sisfb.h>
+
+#include <drm/drm_device.h>
+#include <drm/drm_file.h>
#include <drm/sis_drm.h>
+
#include "sis_drv.h"
-#include <video/sisfb.h>
#define VIDEO_TYPE 0
#define AGP_TYPE 1