summaryrefslogtreecommitdiff
path: root/linux/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-01-27 18:18:04 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2008-01-27 18:18:04 -0500
commitcf7557e23cb16338cdbcfa4075ff34ebf2ba0ca5 (patch)
tree969c73bc5819796ce91ed096d9552c8ba4effd2d /linux/drivers/media/Kconfig
parent6115a22c6160858176408cd0bc3622f46db6b012 (diff)
downloadmediapointer-dvb-s2-cf7557e23cb16338cdbcfa4075ff34ebf2ba0ca5.tar.gz
mediapointer-dvb-s2-cf7557e23cb16338cdbcfa4075ff34ebf2ba0ca5.tar.bz2
tuner: build tuner-types independently of tuner-core
From: Michael Krufky <mkrufky@linuxtv.org> tuner-types is needed for tuner-simple, and does not need to be bound to tuner-core. Any caller of tuner-simple, including tuner-core, needs to pass a structure from tuner-types into tuner-simple at attach-time. Export the two needed symbols from tuner-types for now, so that card-level drivers can attach tuner-simple for hybrid dvb_frontend devices. We will remove this dependency altogether as tuner refactoring phase 3 progresses. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/Kconfig')
-rw-r--r--linux/drivers/media/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/Kconfig b/linux/drivers/media/Kconfig
index 8f4a45346..0bf2fb1fa 100644
--- a/linux/drivers/media/Kconfig
+++ b/linux/drivers/media/Kconfig
@@ -66,9 +66,13 @@ source "drivers/media/dvb/Kconfig"
source "drivers/media/common/Kconfig"
+config VIDEO_TUNER_TYPES
+ tristate
+
config VIDEO_TUNER
tristate
depends on I2C
+ select VIDEO_TUNER_TYPES
select TUNER_XC2028 if !VIDEO_TUNER_CUSTOMIZE
select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE
select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE
@@ -131,6 +135,7 @@ config TUNER_TEA5767
config TUNER_SIMPLE
tristate "Simple tuner support"
depends on I2C
+ select VIDEO_TUNER_TYPES
select TUNER_TDA9887
default m if VIDEO_TUNER_CUSTOMIZE
help