summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/accel_2d.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-05-19 22:55:26 +0300
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2019-05-22 15:13:40 +0300
commit0c7b178ad7eb68734feb21e4cfba9ea398f22668 (patch)
treeaf2821de74bfdc96b6f089696ad6129cf0b3b246 /drivers/gpu/drm/gma500/accel_2d.c
parentbc9f100783b9a849adfb6b9b6adb0a1332583f96 (diff)
downloadlinux-0c7b178ad7eb68734feb21e4cfba9ea398f22668.tar.xz
drm/gma500: drop drmp.h include from all .c files
Drop remaining uses of the deprecated drmP.h in gma500 Replaced drmp.h with forward declarations or include files as relevant. Moved all include files to blocks in following order: \#include <linux/*> \#include <asm/*> \#include <drm/*> \#include "" And within each block sort the include files alphabetically. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190519195526.3422-6-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/gma500/accel_2d.c')
-rw-r--r--drivers/gpu/drm/gma500/accel_2d.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/gpu/drm/gma500/accel_2d.c b/drivers/gpu/drm/gma500/accel_2d.c
index 204c8e452eb7..6536ed5552fa 100644
--- a/drivers/gpu/drm/gma500/accel_2d.c
+++ b/drivers/gpu/drm/gma500/accel_2d.c
@@ -20,24 +20,24 @@
*
**************************************************************************/
-#include <linux/module.h>
-#include <linux/kernel.h>
+#include <linux/console.h>
+#include <linux/delay.h>
#include <linux/errno.h>
-#include <linux/string.h>
+#include <linux/init.h>
+#include <linux/kernel.h>
#include <linux/mm.h>
-#include <linux/tty.h>
+#include <linux/module.h>
#include <linux/slab.h>
-#include <linux/delay.h>
-#include <linux/init.h>
-#include <linux/console.h>
+#include <linux/string.h>
+#include <linux/tty.h>
-#include <drm/drmP.h>
#include <drm/drm.h>
#include <drm/drm_crtc.h>
+#include <drm/drm_fourcc.h>
+#include "framebuffer.h"
#include "psb_drv.h"
#include "psb_reg.h"
-#include "framebuffer.h"
/**
* psb_spank - reset the 2D engine