diff mbox

V4L: introduce a Kconfig variable to disable helper-chip autoselection

Message ID Pine.LNX.4.64.1003171336180.4354@axis700.grange (mailing list archive)
State Rejected
Headers show

Commit Message

Guennadi Liakhovetski March 17, 2010, 12:38 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index 64682bf..73f3808 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -77,8 +77,12 @@  config VIDEO_FIXED_MINOR_RANGES
 
 	  When in doubt, say N.
 
+config VIDEO_HELPER_CHIPS_AUTO_DISABLE
+	bool
+
 config VIDEO_HELPER_CHIPS_AUTO
 	bool "Autoselect pertinent encoders/decoders and other helper chips"
+	depends on !VIDEO_HELPER_CHIPS_AUTO_DISABLE
 	default y
 	---help---
 	  Most video cards may require additional modules to encode or
@@ -816,6 +820,7 @@  config SOC_CAMERA
 	tristate "SoC camera support"
 	depends on VIDEO_V4L2 && HAS_DMA && I2C
 	select VIDEOBUF_GEN
+	select VIDEO_HELPER_CHIPS_AUTO_DISABLE
 	help
 	  SoC Camera is a common API to several cameras, not connecting
 	  over a bus like PCI or USB. For example some i2c camera connected