[PATCH 1/5] video: simple-panel: depend on GPIOLIB

Lucas Stach l.stach at pengutronix.de
Fri Aug 14 03:16:41 PDT 2015


Fixes:
In file included from include/gpio.h:4:0,
                 from drivers/video/simple-panel.c:26:
fatal error: mach/gpio.h: No such file or directory

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 drivers/video/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 812c540d71a2..2f5069fb2640 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -127,6 +127,7 @@ config DRIVER_VIDEO_MTL017
 config DRIVER_VIDEO_SIMPLE_PANEL
 	bool "Simple panel support"
 	select VIDEO_VPL
+	depends on GPIOLIB
 	help
 	  This enabled support for simple panels, i.e. panels which consist of
 	  a mode definition and enable gpios in the devicetree. Unlike the
-- 
2.4.6




More information about the barebox mailing list