summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/displays/encoder-opa362.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-18 09:02:18 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-31 08:20:42 +0300
commitd9e32ecda41bb6b6301fd2a0945003bb8f4e2ba1 (patch)
tree179bf526bd3cc6510ab4c2569736bfad71cbdc3d /drivers/gpu/drm/omapdrm/displays/encoder-opa362.c
parent2639d6b9be19e029869158a6b8cbc5d253cd7bbc (diff)
downloadlinux-d9e32ecda41bb6b6301fd2a0945003bb8f4e2ba1.tar.bz2
drm/omap: Fix missing includes
With certain kernel config options many omapdrm files fail to compile due to missing include of linux/gpio/consumer.h and linux/of.h. This patch adds those includes. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reported-by: Dan Murphy <dmurphy@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/encoder-opa362.c')
-rw-r--r--drivers/gpu/drm/omapdrm/displays/encoder-opa362.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/encoder-opa362.c b/drivers/gpu/drm/omapdrm/displays/encoder-opa362.c
index 8c246c213e06..9f06a87e80c4 100644
--- a/drivers/gpu/drm/omapdrm/displays/encoder-opa362.c
+++ b/drivers/gpu/drm/omapdrm/displays/encoder-opa362.c
@@ -15,6 +15,7 @@
*/
#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>