V4L/DVB: V4L: do not autoselect components on embedded systems
authorGuennadi Liakhovetski <lyakh@extensa5220.grange>
Thu, 5 Aug 2010 21:09:28 +0000 (18:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:43:02 +0000 (23:43 -0300)
Tuner, DVB frontend and video helper chip drivers are by default
autoselected by their respective host cards, this, however, doesn't make
much sense on SoC-based systems. Disable autoselection on EMBEDDED
systems.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/Kconfig
drivers/media/dvb/frontends/Kconfig
drivers/media/video/Kconfig

index 409a4261e5b5fa1c89f63e668499c1b7b5e1cdc8..b3ed5daaacf27411b47d22b8c24d46b580d8cd92 100644 (file)
@@ -34,7 +34,7 @@ config MEDIA_TUNER
 menuconfig MEDIA_TUNER_CUSTOMISE
        bool "Customize analog and hybrid tuner modules to build"
        depends on MEDIA_TUNER
-       default n
+       default y if EMBEDDED
        help
          This allows the user to deselect tuner drivers unnecessary
          for their hardware from the build. Use this option with care
index 51d578a758a7cc90a4ef624d79277826071977a0..b5f6a04f9c127c0bb1f1d8c4d2d23d31d5b99070 100644 (file)
@@ -1,7 +1,7 @@
 config DVB_FE_CUSTOMISE
        bool "Customise the frontend modules to build"
        depends on DVB_CORE
-       default N
+       default y if EMBEDDED
        help
          This allows the user to select/deselect frontend drivers for their
          hardware from the build.
index c70b67deb9b22df0d3c0a2af3cf848b842c7fcdc..9d55fef2be3b0d3db5651efe9265ab3df0782252 100644 (file)
@@ -83,7 +83,7 @@ config VIDEO_FIXED_MINOR_RANGES
 
 config VIDEO_HELPER_CHIPS_AUTO
        bool "Autoselect pertinent encoders/decoders and other helper chips"
-       default y
+       default y if !EMBEDDED
        ---help---
          Most video cards may require additional modules to encode or
          decode audio/video standards. This option will autoselect