summaryrefslogtreecommitdiffstats
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2012-08-20 19:48:02 +0200
committerMauro Carvalho Chehab2012-08-21 13:05:06 +0200
commitfccea74ff8b5159935acc7b4b4857ee81ee44661 (patch)
treee5d67c5a7993c5d71478f4cb833f7631113f1333 /drivers/media/Kconfig
parent[media] Kconfig: use menuconfig instead of menu (diff)
downloadkernel-qcow2-linux-fccea74ff8b5159935acc7b4b4857ee81ee44661.tar.gz
kernel-qcow2-linux-fccea74ff8b5159935acc7b4b4857ee81ee44661.tar.xz
kernel-qcow2-linux-fccea74ff8b5159935acc7b4b4857ee81ee44661.zip
[media] Kconfig: merge all customise options into just one
Instead of having 3 options to allow customizing the media sub-drivers (tuners, I2C drivers, frontends), merge all of them into just one. That simplifies the life for users, as they can just keep this untouched. Life for developers is also simpler, as there's now just one Kconfig item to remember, for the ancillary sub-drivers providing supports for chips that could change from one board design to another. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r--drivers/media/Kconfig19
1 files changed, 18 insertions, 1 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 9c3698ab6132..dd13e3a4c272 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -162,10 +162,27 @@ source "drivers/media/common/Kconfig"
# Ancillary drivers (tuners, i2c, frontends)
#
+config MEDIA_SUBDRV_AUTOSELECT
+ bool "Autoselect analog and hybrid tuner modules to build"
+ depends on MEDIA_TUNER
+ default y
+ help
+ By default, a TV driver auto-selects all possible tuners
+ thar could be used by the driver.
+
+ This is generally the right thing to do, except when there
+ are strict constraints with regards to the kernel size.
+
+ Use this option with care, as deselecting tuner drivers which
+ are in fact necessary will result in TV devices which cannot
+ be tuned due to lack of the tuning driver.
+
+ If unsure say Y.
+
comment "Media ancillary drivers (tuners, sensors, i2c, frontends)"
-source "drivers/media/tuners/Kconfig"
source "drivers/media/i2c/Kconfig"
+source "drivers/media/tuners/Kconfig"
source "drivers/media/dvb-frontends/Kconfig"
endif # MEDIA_SUPPORT