aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-08-27 20:59:35 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:07:43 -0400
commitca805d57cf5ea7482ed3da28653f30621249ee45 (patch)
tree35e9051fb2e8be8c94c1b15a07c43f2303de3125 /drivers/media/Kconfig
parent4adad287de82703fd504fdab7aebe760196bb786 (diff)
V4L/DVB (6134): tuner: alter build to produce separate modules
Break tuner.ko into separate modules. This was a quick change - Tuner sub-drivers are still static-linked to tuner.ko, this will change after using dvb_attach and removing the probing functions. After this change, one can deselect undesired tuner sub-drivers via Kconfig. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Mike Isely <isely@pobox.com> Acked-by: Steven Toth <stoth@hauppauge.com> Acked-by: Patrick Boettcher <pb@linuxtv.org> Acked-by: Jarod Wilson <jwilson@redhat.com> Acked-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r--drivers/media/Kconfig56
1 files changed, 56 insertions, 0 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index d9d033e07e19..3f8cfa873de5 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -69,6 +69,62 @@ source "drivers/media/common/Kconfig"
69config VIDEO_TUNER 69config VIDEO_TUNER
70 tristate 70 tristate
71 depends on I2C 71 depends on I2C
72 select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE
73 select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE
74 select TUNER_TEA5761 if !VIDEO_TUNER_CUSTOMIZE
75 select TUNER_TEA5767 if !VIDEO_TUNER_CUSTOMIZE
76 select TUNER_SIMPLE if !VIDEO_TUNER_CUSTOMIZE
77
78menuconfig VIDEO_TUNER_CUSTOMIZE
79 bool "Customize analog tuner modules to build"
80 depends on VIDEO_TUNER
81 help
82 This allows the user to deselect tuner drivers unnecessary
83 for their hardware from the build. Use this option with care
84 as deselecting tuner drivers which are in fact necessary will
85 result in V4L devices which cannot be tuned due to lack of
86 driver support
87
88 If unsure say N.
89
90if VIDEO_TUNER_CUSTOMIZE
91
92config TUNER_MT20XX
93 tristate "Microtune 2032 / 2050 tuners"
94 depends on I2C
95 default m if VIDEO_TUNER_CUSTOMIZE
96 help
97 Say Y here to include support for the MT2032 / MT2050 tuner.
98
99config TUNER_TDA8290
100 tristate "TDA 8290+8275(a) tuner combo"
101 depends on I2C
102 default m if VIDEO_TUNER_CUSTOMIZE
103 help
104 Say Y here to include support for Philips TDA8290+8275(a) tuner.
105
106config TUNER_TEA5761
107 tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
108 depends on I2C && EXPERIMENTAL
109 default m if VIDEO_TUNER_CUSTOMIZE
110 help
111 Say Y here to include support for the Philips TEA5761 radio tuner.
112
113config TUNER_TEA5767
114 tristate "TEA 5767 radio tuner"
115 depends on I2C
116 default m if VIDEO_TUNER_CUSTOMIZE
117 help
118 Say Y here to include support for the Philips TEA5767 radio tuner.
119
120config TUNER_SIMPLE
121 tristate "Simple tuner support"
122 depends on I2C
123 default m if VIDEO_TUNER_CUSTOMIZE
124 help
125 Say Y here to include support for various simple tuners.
126
127endif # VIDEO_TUNER_CUSTOMIZE
72 128
73config VIDEO_BUF 129config VIDEO_BUF
74 depends on PCI 130 depends on PCI