Thread (4 messages) 4 messages, 2 authors, 2011-09-28
STALE5393d

[PATCH v2] V4L: mt9p031 and mt9t001 drivers depend on VIDEO_V4L2_SUBDEV_API

From: Guennadi Liakhovetski <hidden>
Date: 2011-09-28 11:03:46
Subsystem: media input infrastructure (v4l/dvb), the rest · Maintainers: Mauro Carvalho Chehab, Linus Torvalds

Without this patch it is possible to select mt9p031 and mt9t001 camera
sensor drivers, but their compilation fails if VIDEO_V4L2_SUBDEV_API is 
not set.

Signed-off-by: Guennadi Liakhovetski <redacted>
---

v2: better yet depend on VIDEO_V4L2_SUBDEV_API

 drivers/media/video/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index aed5b3d..d2b39e1 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -469,14 +469,14 @@ config VIDEO_OV7670
 
 config VIDEO_MT9P031
 	tristate "Aptina MT9P031 support"
-	depends on I2C && VIDEO_V4L2
+	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
 	---help---
 	  This is a Video4Linux2 sensor-level driver for the Aptina
 	  (Micron) mt9p031 5 Mpixel camera.
 
 config VIDEO_MT9T001
 	tristate "Aptina MT9T001 support"
-	depends on I2C && VIDEO_V4L2
+	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
 	---help---
 	  This is a Video4Linux2 sensor-level driver for the Aptina
 	  (Micron) mt0t001 3 Mpixel camera.
-- 
1.7.2.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help