summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/meson/meson_drv.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-07-16 08:42:02 +0200
committerSam Ravnborg <sam@ravnborg.org>2019-07-17 12:47:57 +0200
commit66620f48cb59440fd265b77d30b9960e2cf1c345 (patch)
tree44ab6f5676eaca9dd8bbf63703b99341a509cdf7 /drivers/gpu/drm/meson/meson_drv.h
parent30fe7b07f6cb7f391181eb9d2ea2687cd9bcf395 (diff)
drm/meson: drop use of drmP.h
Drop use of the deprecated drmP.h header. While doing so used the opportunity to clean up a little so includes are now sorted and removed unused include files. In a few cases added some forwards to allow header files to built in different include order. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Cc: Neil Armstrong <narmstrong@baylibre.com> Cc: Kevin Hilman <khilman@baylibre.com> Cc: Maxime Jourdan <mjourdan@baylibre.com> Cc: Jerome Brunet <jbrunet@baylibre.com> Cc: linux-amlogic@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org Link: https://patchwork.freedesktop.org/patch/msgid/20190716064220.18157-2-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/meson/meson_drv.h')
-rw-r--r--drivers/gpu/drm/meson/meson_drv.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/gpu/drm/meson/meson_drv.h b/drivers/gpu/drm/meson/meson_drv.h
index 7b6593f33dfe..c9aaec1a846e 100644
--- a/drivers/gpu/drm/meson/meson_drv.h
+++ b/drivers/gpu/drm/meson/meson_drv.h
@@ -7,11 +7,14 @@
#ifndef __MESON_DRV_H
#define __MESON_DRV_H
-#include <linux/platform_device.h>
-#include <linux/regmap.h>
+#include <linux/device.h>
#include <linux/of.h>
-#include <linux/soc/amlogic/meson-canvas.h>
-#include <drm/drmP.h>
+#include <linux/regmap.h>
+
+struct drm_crtc;
+struct drm_device;
+struct drm_plane;
+struct meson_drm;
struct meson_drm {
struct device *dev;