summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tinydrm/hx8357d.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-01-08 20:29:38 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-01-09 22:48:56 +0100
commit84056e9b45f7a1a1284f33343551ae21bc3c2cc1 (patch)
treef89b9aa32b29ebf7ee72a9df0c6a98442c707665 /drivers/gpu/drm/tinydrm/hx8357d.c
parentfe1f664a36091f4a3c771178f47545b190c78162 (diff)
drm/tinydrm: do not reply on drmP.h from drm_gem_cma_helper.h
drmP.h was the only header file in the past and a lot of files rely on that drmP.h defines everything. The goal is to one day to delete drmP.h and as a step towards this it will no longer be included in the headers files in include/drm/ To prepare tinydrm/ for this add dependencies that othwewise was pulled in by drmP.h from drm_gem_cma_helper.h To avoid that tinydrm.h became "include everything", push include files to the individual drivers. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Noralf Trønnes <noralf@tronnes.org> Acked-by: David Lechner <david@lechnology.com> Cc: David Airlie <airlied@linux.ie> Cc: Eric Anholt <eric@anholt.net> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190108192939.15255-12-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/tinydrm/hx8357d.c')
-rw-r--r--drivers/gpu/drm/tinydrm/hx8357d.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tinydrm/hx8357d.c b/drivers/gpu/drm/tinydrm/hx8357d.c
index 81a2bbeb25d4..3ae11aa4b73b 100644
--- a/drivers/gpu/drm/tinydrm/hx8357d.c
+++ b/drivers/gpu/drm/tinydrm/hx8357d.c
@@ -16,6 +16,7 @@
#include <linux/property.h>
#include <linux/spi/spi.h>
+#include <drm/drm_drv.h>
#include <drm/drm_gem_cma_helper.h>
#include <drm/drm_gem_framebuffer_helper.h>
#include <drm/drm_modeset_helper.h>