aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 13:41:49 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 12:42:22 -0400
commit82b3083d2673e5fe8ac508071038b2b4c10bbf9c (patch)
treebb32804b2be1ea16936f033c944597e2b2126c83 /drivers/media/Kconfig
parent7f8447d13d3abaeb46d0e6ae2890a843aa09561f (diff)
V4L/DVB (7125): tuner: build tuner-types independently of tuner-core
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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r--drivers/media/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 11950698a2e7..408838418d04 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -71,9 +71,13 @@ source "drivers/media/dvb/Kconfig"
71 71
72source "drivers/media/common/Kconfig" 72source "drivers/media/common/Kconfig"
73 73
74config VIDEO_TUNER_TYPES
75 tristate
76
74config VIDEO_TUNER 77config VIDEO_TUNER
75 tristate 78 tristate
76 depends on I2C 79 depends on I2C
80 select VIDEO_TUNER_TYPES
77 select TUNER_XC2028 if !VIDEO_TUNER_CUSTOMIZE 81 select TUNER_XC2028 if !VIDEO_TUNER_CUSTOMIZE
78 select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE 82 select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE
79 select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE 83 select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE
@@ -136,6 +140,7 @@ config TUNER_TEA5767
136config TUNER_SIMPLE 140config TUNER_SIMPLE
137 tristate "Simple tuner support" 141 tristate "Simple tuner support"
138 depends on I2C 142 depends on I2C
143 select VIDEO_TUNER_TYPES
139 select TUNER_TDA9887 144 select TUNER_TDA9887
140 default m if VIDEO_TUNER_CUSTOMIZE 145 default m if VIDEO_TUNER_CUSTOMIZE
141 help 146 help