drmi/rcar-du: prepare for drmP.h removal from drm_modeset_helper.h
authorSam Ravnborg <sam@ravnborg.org>
Sat, 19 Jan 2019 08:40:13 +0000 (09:40 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Jan 2019 12:07:12 +0000 (13:07 +0100)
The use of drmP.h is discouraged and removal of it from
drm_modeset_helper.h caused rcar-du 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>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Kieran Bingham <kieran.bingham+renesas@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-6-sam@ravnborg.org
drivers/gpu/drm/rcar-du/rcar_lvds.c

index 96d749a35b258408f4632d86d59bd49e7ea70197..ff64d9dbde6851855272898d9ecee551e7ff1631 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/clk.h>
 #include <linux/delay.h>
 #include <linux/io.h>
+#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_graph.h>