[PATCH 3/3] video: simple-panel: depend on OFDEVICE

Lucas Stach l.stach at pengutronix.de
Wed Oct 14 01:53:27 PDT 2015


Fixes:
In function `simple_panel_ioctl':
undefined reference to `of_get_display_timings'

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

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index d31bdfe8f07a..eabd246d535a 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -130,7 +130,7 @@ config DRIVER_VIDEO_MTL017
 config DRIVER_VIDEO_SIMPLE_PANEL
 	bool "Simple panel support"
 	select VIDEO_VPL
-	depends on OFTREE
+	depends on OFTREE && OFDEVICE
 	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.6.1




More information about the barebox mailing list