[PATCH 1/2] video: vpl: depend on OFTREE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



VPL uses the of_graph bindings, which are only available if OFTREE
support is compiled in.

Also fix the drivers using VPL to depend on OFTREE.

Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
---
 drivers/video/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index bb8bbb539481..5ecac4209696 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -13,6 +13,7 @@ config FRAMEBUFFER_CONSOLE
 	prompt "framebuffer console support"
 
 config VIDEO_VPL
+	depends on OFTREE
 	bool
 
 config DRIVER_VIDEO_ATMEL
@@ -122,6 +123,7 @@ config DRIVER_VIDEO_MTL017
 	select VIDEO_VPL
 	depends on I2C
 	depends on GPIOLIB
+	depends on OFTREE
 	help
 	  The MTL017 is a parallel to lvds video encoder chip found on the
 	  Efika MX Smartbook.
@@ -130,6 +132,7 @@ config DRIVER_VIDEO_SIMPLE_PANEL
 	bool "Simple panel support"
 	select VIDEO_VPL
 	depends on GPIOLIB
+	depends on OFTREE
 	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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux