aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-05-06 11:38:24 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-14 01:54:07 -0400
commit3929c0f9acc62a2fee99387b3cb58fd2a3668cd3 (patch)
treec77007cf50807edc659e0011c514edd0e8618d16 /drivers/media/common/tuners/Kconfig
parentfdbbfb092cee0d826cba96df51f56c0e22cae579 (diff)
V4L/DVB (7847): Simplifies Kconfig rules
Since all tuners are dependent of I2C, move I2C dependency to MEDIA_TUNER. Also, simplifies the dependencies for the other Kconfig items. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/common/tuners/Kconfig')
-rw-r--r--drivers/media/common/tuners/Kconfig20
1 files changed, 4 insertions, 16 deletions
diff --git a/drivers/media/common/tuners/Kconfig b/drivers/media/common/tuners/Kconfig
index c0b472eaeb7d..ecbccc3cdc54 100644
--- a/drivers/media/common/tuners/Kconfig
+++ b/drivers/media/common/tuners/Kconfig
@@ -19,8 +19,8 @@ config MEDIA_ATTACH
19 19
20config MEDIA_TUNER 20config MEDIA_TUNER
21 tristate 21 tristate
22 default DVB_CORE || VIDEO_DEV 22 default VIDEO_MEDIA && I2C
23 depends on DVB_CORE || VIDEO_DEV 23 depends on VIDEO_MEDIA && I2C
24 select MEDIA_TUNER_XC2028 if !MEDIA_TUNER_CUSTOMIZE 24 select MEDIA_TUNER_XC2028 if !MEDIA_TUNER_CUSTOMIZE
25 select MEDIA_TUNER_XC5000 if !MEDIA_TUNER_CUSTOMIZE 25 select MEDIA_TUNER_XC5000 if !MEDIA_TUNER_CUSTOMIZE
26 select MEDIA_TUNER_MT20XX if !MEDIA_TUNER_CUSTOMIZE 26 select MEDIA_TUNER_MT20XX if !MEDIA_TUNER_CUSTOMIZE
@@ -46,7 +46,6 @@ if MEDIA_TUNER_CUSTOMIZE
46 46
47config MEDIA_TUNER_SIMPLE 47config MEDIA_TUNER_SIMPLE
48 tristate "Simple tuner support" 48 tristate "Simple tuner support"
49 depends on I2C
50 select MEDIA_TUNER_TDA9887 49 select MEDIA_TUNER_TDA9887
51 default m if MEDIA_TUNER_CUSTOMIZE 50 default m if MEDIA_TUNER_CUSTOMIZE
52 help 51 help
@@ -54,7 +53,6 @@ config MEDIA_TUNER_SIMPLE
54 53
55config MEDIA_TUNER_TDA8290 54config MEDIA_TUNER_TDA8290
56 tristate "TDA 8290/8295 + 8275(a)/18271 tuner combo" 55 tristate "TDA 8290/8295 + 8275(a)/18271 tuner combo"
57 depends on I2C
58 select MEDIA_TUNER_TDA827X 56 select MEDIA_TUNER_TDA827X
59 select MEDIA_TUNER_TDA18271 57 select MEDIA_TUNER_TDA18271
60 default m if MEDIA_TUNER_CUSTOMIZE 58 default m if MEDIA_TUNER_CUSTOMIZE
@@ -63,21 +61,18 @@ config MEDIA_TUNER_TDA8290
63 61
64config MEDIA_TUNER_TDA827X 62config MEDIA_TUNER_TDA827X
65 tristate "Philips TDA827X silicon tuner" 63 tristate "Philips TDA827X silicon tuner"
66 depends on DVB_CORE && I2C
67 default m if DVB_FE_CUSTOMISE 64 default m if DVB_FE_CUSTOMISE
68 help 65 help
69 A DVB-T silicon tuner module. Say Y when you want to support this tuner. 66 A DVB-T silicon tuner module. Say Y when you want to support this tuner.
70 67
71config MEDIA_TUNER_TDA18271 68config MEDIA_TUNER_TDA18271
72 tristate "NXP TDA18271 silicon tuner" 69 tristate "NXP TDA18271 silicon tuner"
73 depends on I2C
74 default m if DVB_FE_CUSTOMISE 70 default m if DVB_FE_CUSTOMISE
75 help 71 help
76 A silicon tuner module. Say Y when you want to support this tuner. 72 A silicon tuner module. Say Y when you want to support this tuner.
77 73
78config MEDIA_TUNER_TDA9887 74config MEDIA_TUNER_TDA9887
79 tristate "TDA 9885/6/7 analog IF demodulator" 75 tristate "TDA 9885/6/7 analog IF demodulator"
80 depends on I2C
81 default m if MEDIA_TUNER_CUSTOMIZE 76 default m if MEDIA_TUNER_CUSTOMIZE
82 help 77 help
83 Say Y here to include support for Philips TDA9885/6/7 78 Say Y here to include support for Philips TDA9885/6/7
@@ -85,63 +80,56 @@ config MEDIA_TUNER_TDA9887
85 80
86config MEDIA_TUNER_TEA5761 81config MEDIA_TUNER_TEA5761
87 tristate "TEA 5761 radio tuner (EXPERIMENTAL)" 82 tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
88 depends on I2C && EXPERIMENTAL 83 depends on EXPERIMENTAL
89 default m if MEDIA_TUNER_CUSTOMIZE 84 default m if MEDIA_TUNER_CUSTOMIZE
90 help 85 help
91 Say Y here to include support for the Philips TEA5761 radio tuner. 86 Say Y here to include support for the Philips TEA5761 radio tuner.
92 87
93config MEDIA_TUNER_TEA5767 88config MEDIA_TUNER_TEA5767
94 tristate "TEA 5767 radio tuner" 89 tristate "TEA 5767 radio tuner"
95 depends on I2C
96 default m if MEDIA_TUNER_CUSTOMIZE 90 default m if MEDIA_TUNER_CUSTOMIZE
97 help 91 help
98 Say Y here to include support for the Philips TEA5767 radio tuner. 92 Say Y here to include support for the Philips TEA5767 radio tuner.
99 93
100config MEDIA_TUNER_MT20XX 94config MEDIA_TUNER_MT20XX
101 tristate "Microtune 2032 / 2050 tuners" 95 tristate "Microtune 2032 / 2050 tuners"
102 depends on I2C
103 default m if MEDIA_TUNER_CUSTOMIZE 96 default m if MEDIA_TUNER_CUSTOMIZE
104 help 97 help
105 Say Y here to include support for the MT2032 / MT2050 tuner. 98 Say Y here to include support for the MT2032 / MT2050 tuner.
106 99
107config MEDIA_TUNER_MT2060 100config MEDIA_TUNER_MT2060
108 tristate "Microtune MT2060 silicon IF tuner" 101 tristate "Microtune MT2060 silicon IF tuner"
109 depends on I2C
110 default m if DVB_FE_CUSTOMISE 102 default m if DVB_FE_CUSTOMISE
111 help 103 help
112 A driver for the silicon IF tuner MT2060 from Microtune. 104 A driver for the silicon IF tuner MT2060 from Microtune.
113 105
114config MEDIA_TUNER_MT2266 106config MEDIA_TUNER_MT2266
115 tristate "Microtune MT2266 silicon tuner" 107 tristate "Microtune MT2266 silicon tuner"
116 depends on I2C
117 default m if DVB_FE_CUSTOMISE 108 default m if DVB_FE_CUSTOMISE
118 help 109 help
119 A driver for the silicon baseband tuner MT2266 from Microtune. 110 A driver for the silicon baseband tuner MT2266 from Microtune.
120 111
121config MEDIA_TUNER_MT2131 112config MEDIA_TUNER_MT2131
122 tristate "Microtune MT2131 silicon tuner" 113 tristate "Microtune MT2131 silicon tuner"
123 depends on I2C
124 default m if DVB_FE_CUSTOMISE 114 default m if DVB_FE_CUSTOMISE
125 help 115 help
126 A driver for the silicon baseband tuner MT2131 from Microtune. 116 A driver for the silicon baseband tuner MT2131 from Microtune.
127 117
128config MEDIA_TUNER_QT1010 118config MEDIA_TUNER_QT1010
129 tristate "Quantek QT1010 silicon tuner" 119 tristate "Quantek QT1010 silicon tuner"
130 depends on DVB_CORE && I2C
131 default m if DVB_FE_CUSTOMISE 120 default m if DVB_FE_CUSTOMISE
132 help 121 help
133 A driver for the silicon tuner QT1010 from Quantek. 122 A driver for the silicon tuner QT1010 from Quantek.
134 123
135config MEDIA_TUNER_XC2028 124config MEDIA_TUNER_XC2028
136 tristate "XCeive xc2028/xc3028 tuners" 125 tristate "XCeive xc2028/xc3028 tuners"
137 depends on I2C && FW_LOADER 126 depends on FW_LOADER
138 default m if MEDIA_TUNER_CUSTOMIZE 127 default m if MEDIA_TUNER_CUSTOMIZE
139 help 128 help
140 Say Y here to include support for the xc2028/xc3028 tuners. 129 Say Y here to include support for the xc2028/xc3028 tuners.
141 130
142config MEDIA_TUNER_XC5000 131config MEDIA_TUNER_XC5000
143 tristate "Xceive XC5000 silicon tuner" 132 tristate "Xceive XC5000 silicon tuner"
144 depends on I2C
145 select FW_LOADER 133 select FW_LOADER
146 default m if DVB_FE_CUSTOMISE 134 default m if DVB_FE_CUSTOMISE
147 help 135 help