Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/bridge: cdns: prepare for drmP.h removal from drm_modeset_helper.h

The use of drmP.h is discouraged and removal of it from
drm_modeset_helper.h caused cdns to fail to build.

This patch introduce the necessary fixes to prepare for the
drmP.h removal from drm_modeset_helper.h.

Build tested on arm x86 and arm allmodconfig.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190119084014.5355-5-sam@ravnborg.org

authored by

Sam Ravnborg and committed by
Daniel Vetter
6abb4940 2f69deb1

+2
+2
drivers/gpu/drm/bridge/cdns-dsi.c
··· 8 8 #include <drm/drm_atomic_helper.h> 9 9 #include <drm/drm_bridge.h> 10 10 #include <drm/drm_crtc_helper.h> 11 + #include <drm/drm_drv.h> 11 12 #include <drm/drm_mipi_dsi.h> 12 13 #include <drm/drm_panel.h> 13 14 #include <video/mipi_display.h> 14 15 15 16 #include <linux/clk.h> 17 + #include <linux/interrupt.h> 16 18 #include <linux/iopoll.h> 17 19 #include <linux/module.h> 18 20 #include <linux/of_address.h>