aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-29 20:38:46 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-29 17:41:38 -0400
commit149ef72deeba57078216c9fa678baff392295853 (patch)
tree038cf488b424094b0dbe05a63a9cbb28f87eaaec /drivers/media/common/tuners
parentf1784354f774e1fa4863fc6382296ef6ede26dc5 (diff)
Rename common tuner Kconfig names to use the same
namespace for all of them.
Diffstat (limited to 'drivers/media/common/tuners')
-rw-r--r--drivers/media/common/tuners/Kconfig78
-rw-r--r--drivers/media/common/tuners/Makefile30
-rw-r--r--drivers/media/common/tuners/mt2060.h4
-rw-r--r--drivers/media/common/tuners/mt20xx.h2
-rw-r--r--drivers/media/common/tuners/mt2131.h4
-rw-r--r--drivers/media/common/tuners/mt2266.h4
-rw-r--r--drivers/media/common/tuners/qt1010.h4
-rw-r--r--drivers/media/common/tuners/tda18271.h2
-rw-r--r--drivers/media/common/tuners/tda827x.h4
-rw-r--r--drivers/media/common/tuners/tda8290.h2
-rw-r--r--drivers/media/common/tuners/tda9887.h2
-rw-r--r--drivers/media/common/tuners/tea5761.h2
-rw-r--r--drivers/media/common/tuners/tea5767.h2
-rw-r--r--drivers/media/common/tuners/tuner-simple.h2
-rw-r--r--drivers/media/common/tuners/tuner-xc2028.h2
-rw-r--r--drivers/media/common/tuners/xc5000.h6
16 files changed, 75 insertions, 75 deletions
diff --git a/drivers/media/common/tuners/Kconfig b/drivers/media/common/tuners/Kconfig
index e6926e9fa332..7b379e1ce01b 100644
--- a/drivers/media/common/tuners/Kconfig
+++ b/drivers/media/common/tuners/Kconfig
@@ -1,4 +1,4 @@
1config DVB_CORE_ATTACH 1config MEDIA_ATTACH
2 bool "Load and attach frontend driver modules as needed" 2 bool "Load and attach frontend driver modules as needed"
3 depends on DVB_CORE 3 depends on DVB_CORE
4 depends on MODULES 4 depends on MODULES
@@ -12,22 +12,22 @@ config DVB_CORE_ATTACH
12 12
13 If unsure say Y. 13 If unsure say Y.
14 14
15config VIDEO_TUNER 15config MEDIA_TUNER
16 tristate 16 tristate
17 default DVB_CORE || VIDEO_DEV 17 default DVB_CORE || VIDEO_DEV
18 depends on DVB_CORE || VIDEO_DEV 18 depends on DVB_CORE || VIDEO_DEV
19 select TUNER_XC2028 if !VIDEO_TUNER_CUSTOMIZE 19 select MEDIA_TUNER_XC2028 if !MEDIA_TUNER_CUSTOMIZE
20 select DVB_TUNER_XC5000 if !VIDEO_TUNER_CUSTOMIZE 20 select MEDIA_TUNER_XC5000 if !MEDIA_TUNER_CUSTOMIZE
21 select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE 21 select MEDIA_TUNER_MT20XX if !MEDIA_TUNER_CUSTOMIZE
22 select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE 22 select MEDIA_TUNER_TDA8290 if !MEDIA_TUNER_CUSTOMIZE
23 select TUNER_TEA5761 if !VIDEO_TUNER_CUSTOMIZE 23 select MEDIA_TUNER_TEA5761 if !MEDIA_TUNER_CUSTOMIZE
24 select TUNER_TEA5767 if !VIDEO_TUNER_CUSTOMIZE 24 select MEDIA_TUNER_TEA5767 if !MEDIA_TUNER_CUSTOMIZE
25 select TUNER_SIMPLE if !VIDEO_TUNER_CUSTOMIZE 25 select MEDIA_TUNER_SIMPLE if !MEDIA_TUNER_CUSTOMIZE
26 select TUNER_TDA9887 if !VIDEO_TUNER_CUSTOMIZE 26 select MEDIA_TUNER_TDA9887 if !MEDIA_TUNER_CUSTOMIZE
27 27
28menuconfig VIDEO_TUNER_CUSTOMIZE 28menuconfig MEDIA_TUNER_CUSTOMIZE
29 bool "Customize analog and hybrid tuner modules to build" 29 bool "Customize analog and hybrid tuner modules to build"
30 depends on VIDEO_TUNER 30 depends on MEDIA_TUNER
31 help 31 help
32 This allows the user to deselect tuner drivers unnecessary 32 This allows the user to deselect tuner drivers unnecessary
33 for their hardware from the build. Use this option with care 33 for their hardware from the build. Use this option with care
@@ -37,104 +37,104 @@ menuconfig VIDEO_TUNER_CUSTOMIZE
37 37
38 If unsure say N. 38 If unsure say N.
39 39
40if VIDEO_TUNER_CUSTOMIZE 40if MEDIA_TUNER_CUSTOMIZE
41 41
42config TUNER_SIMPLE 42config MEDIA_TUNER_SIMPLE
43 tristate "Simple tuner support" 43 tristate "Simple tuner support"
44 depends on I2C 44 depends on I2C
45 select TUNER_TDA9887 45 select MEDIA_TUNER_TDA9887
46 default m if VIDEO_TUNER_CUSTOMIZE 46 default m if MEDIA_TUNER_CUSTOMIZE
47 help 47 help
48 Say Y here to include support for various simple tuners. 48 Say Y here to include support for various simple tuners.
49 49
50config TUNER_TDA8290 50config MEDIA_TUNER_TDA8290
51 tristate "TDA 8290/8295 + 8275(a)/18271 tuner combo" 51 tristate "TDA 8290/8295 + 8275(a)/18271 tuner combo"
52 depends on I2C 52 depends on I2C
53 select DVB_TDA827X 53 select MEDIA_TUNER_TDA827X
54 select DVB_TDA18271 54 select MEDIA_TUNER_TDA18271
55 default m if VIDEO_TUNER_CUSTOMIZE 55 default m if MEDIA_TUNER_CUSTOMIZE
56 help 56 help
57 Say Y here to include support for Philips TDA8290+8275(a) tuner. 57 Say Y here to include support for Philips TDA8290+8275(a) tuner.
58 58
59config DVB_TDA827X 59config MEDIA_TUNER_TDA827X
60 tristate "Philips TDA827X silicon tuner" 60 tristate "Philips TDA827X silicon tuner"
61 depends on DVB_CORE && I2C 61 depends on DVB_CORE && I2C
62 default m if DVB_FE_CUSTOMISE 62 default m if DVB_FE_CUSTOMISE
63 help 63 help
64 A DVB-T silicon tuner module. Say Y when you want to support this tuner. 64 A DVB-T silicon tuner module. Say Y when you want to support this tuner.
65 65
66config DVB_TDA18271 66config MEDIA_TUNER_TDA18271
67 tristate "NXP TDA18271 silicon tuner" 67 tristate "NXP TDA18271 silicon tuner"
68 depends on I2C 68 depends on I2C
69 default m if DVB_FE_CUSTOMISE 69 default m if DVB_FE_CUSTOMISE
70 help 70 help
71 A silicon tuner module. Say Y when you want to support this tuner. 71 A silicon tuner module. Say Y when you want to support this tuner.
72 72
73config TUNER_TDA9887 73config MEDIA_TUNER_TDA9887
74 tristate "TDA 9885/6/7 analog IF demodulator" 74 tristate "TDA 9885/6/7 analog IF demodulator"
75 depends on I2C 75 depends on I2C
76 default m if VIDEO_TUNER_CUSTOMIZE 76 default m if MEDIA_TUNER_CUSTOMIZE
77 help 77 help
78 Say Y here to include support for Philips TDA9885/6/7 78 Say Y here to include support for Philips TDA9885/6/7
79 analog IF demodulator. 79 analog IF demodulator.
80 80
81config TUNER_TEA5761 81config MEDIA_TUNER_TEA5761
82 tristate "TEA 5761 radio tuner (EXPERIMENTAL)" 82 tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
83 depends on I2C && EXPERIMENTAL 83 depends on I2C && EXPERIMENTAL
84 default m if VIDEO_TUNER_CUSTOMIZE 84 default m if MEDIA_TUNER_CUSTOMIZE
85 help 85 help
86 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.
87 87
88config TUNER_TEA5767 88config MEDIA_TUNER_TEA5767
89 tristate "TEA 5767 radio tuner" 89 tristate "TEA 5767 radio tuner"
90 depends on I2C 90 depends on I2C
91 default m if VIDEO_TUNER_CUSTOMIZE 91 default m if MEDIA_TUNER_CUSTOMIZE
92 help 92 help
93 Say Y here to include support for the Philips TEA5767 radio tuner. 93 Say Y here to include support for the Philips TEA5767 radio tuner.
94 94
95config TUNER_MT20XX 95config MEDIA_TUNER_MT20XX
96 tristate "Microtune 2032 / 2050 tuners" 96 tristate "Microtune 2032 / 2050 tuners"
97 depends on I2C 97 depends on I2C
98 default m if VIDEO_TUNER_CUSTOMIZE 98 default m if MEDIA_TUNER_CUSTOMIZE
99 help 99 help
100 Say Y here to include support for the MT2032 / MT2050 tuner. 100 Say Y here to include support for the MT2032 / MT2050 tuner.
101 101
102config DVB_TUNER_MT2060 102config MEDIA_TUNER_MT2060
103 tristate "Microtune MT2060 silicon IF tuner" 103 tristate "Microtune MT2060 silicon IF tuner"
104 depends on I2C 104 depends on I2C
105 default m if DVB_FE_CUSTOMISE 105 default m if DVB_FE_CUSTOMISE
106 help 106 help
107 A driver for the silicon IF tuner MT2060 from Microtune. 107 A driver for the silicon IF tuner MT2060 from Microtune.
108 108
109config DVB_TUNER_MT2266 109config MEDIA_TUNER_MT2266
110 tristate "Microtune MT2266 silicon tuner" 110 tristate "Microtune MT2266 silicon tuner"
111 depends on I2C 111 depends on I2C
112 default m if DVB_FE_CUSTOMISE 112 default m if DVB_FE_CUSTOMISE
113 help 113 help
114 A driver for the silicon baseband tuner MT2266 from Microtune. 114 A driver for the silicon baseband tuner MT2266 from Microtune.
115 115
116config DVB_TUNER_MT2131 116config MEDIA_TUNER_MT2131
117 tristate "Microtune MT2131 silicon tuner" 117 tristate "Microtune MT2131 silicon tuner"
118 depends on I2C 118 depends on I2C
119 default m if DVB_FE_CUSTOMISE 119 default m if DVB_FE_CUSTOMISE
120 help 120 help
121 A driver for the silicon baseband tuner MT2131 from Microtune. 121 A driver for the silicon baseband tuner MT2131 from Microtune.
122 122
123config DVB_TUNER_QT1010 123config MEDIA_TUNER_QT1010
124 tristate "Quantek QT1010 silicon tuner" 124 tristate "Quantek QT1010 silicon tuner"
125 depends on DVB_CORE && I2C 125 depends on DVB_CORE && I2C
126 default m if DVB_FE_CUSTOMISE 126 default m if DVB_FE_CUSTOMISE
127 help 127 help
128 A driver for the silicon tuner QT1010 from Quantek. 128 A driver for the silicon tuner QT1010 from Quantek.
129 129
130config TUNER_XC2028 130config MEDIA_TUNER_XC2028
131 tristate "XCeive xc2028/xc3028 tuners" 131 tristate "XCeive xc2028/xc3028 tuners"
132 depends on I2C && FW_LOADER 132 depends on I2C && FW_LOADER
133 default m if VIDEO_TUNER_CUSTOMIZE 133 default m if MEDIA_TUNER_CUSTOMIZE
134 help 134 help
135 Say Y here to include support for the xc2028/xc3028 tuners. 135 Say Y here to include support for the xc2028/xc3028 tuners.
136 136
137config DVB_TUNER_XC5000 137config MEDIA_TUNER_XC5000
138 tristate "Xceive XC5000 silicon tuner" 138 tristate "Xceive XC5000 silicon tuner"
139 depends on I2C 139 depends on I2C
140 default m if DVB_FE_CUSTOMISE 140 default m if DVB_FE_CUSTOMISE
@@ -143,4 +143,4 @@ config DVB_TUNER_XC5000
143 This device is only used inside a SiP called togther with a 143 This device is only used inside a SiP called togther with a
144 demodulator for now. 144 demodulator for now.
145 145
146endif # VIDEO_TUNER_CUSTOMIZE 146endif # MEDIA_TUNER_CUSTOMIZE
diff --git a/drivers/media/common/tuners/Makefile b/drivers/media/common/tuners/Makefile
index 812864312628..236d9932fd92 100644
--- a/drivers/media/common/tuners/Makefile
+++ b/drivers/media/common/tuners/Makefile
@@ -4,22 +4,22 @@
4 4
5tda18271-objs := tda18271-maps.o tda18271-common.o tda18271-fe.o 5tda18271-objs := tda18271-maps.o tda18271-common.o tda18271-fe.o
6 6
7obj-$(CONFIG_TUNER_XC2028) += tuner-xc2028.o 7obj-$(CONFIG_MEDIA_TUNER_XC2028) += tuner-xc2028.o
8obj-$(CONFIG_TUNER_SIMPLE) += tuner-simple.o 8obj-$(CONFIG_MEDIA_TUNER_SIMPLE) += tuner-simple.o
9# tuner-types will be merged into tuner-simple, in the future 9# tuner-types will be merged into tuner-simple, in the future
10obj-$(CONFIG_TUNER_SIMPLE) += tuner-types.o 10obj-$(CONFIG_MEDIA_TUNER_SIMPLE) += tuner-types.o
11obj-$(CONFIG_TUNER_MT20XX) += mt20xx.o 11obj-$(CONFIG_MEDIA_TUNER_MT20XX) += mt20xx.o
12obj-$(CONFIG_TUNER_TDA8290) += tda8290.o 12obj-$(CONFIG_MEDIA_TUNER_TDA8290) += tda8290.o
13obj-$(CONFIG_TUNER_TEA5767) += tea5767.o 13obj-$(CONFIG_MEDIA_TUNER_TEA5767) += tea5767.o
14obj-$(CONFIG_TUNER_TEA5761) += tea5761.o 14obj-$(CONFIG_MEDIA_TUNER_TEA5761) += tea5761.o
15obj-$(CONFIG_TUNER_TDA9887) += tda9887.o 15obj-$(CONFIG_MEDIA_TUNER_TDA9887) += tda9887.o
16obj-$(CONFIG_DVB_TDA827X) += tda827x.o 16obj-$(CONFIG_MEDIA_TUNER_TDA827X) += tda827x.o
17obj-$(CONFIG_DVB_TDA18271) += tda18271.o 17obj-$(CONFIG_MEDIA_TUNER_TDA18271) += tda18271.o
18obj-$(CONFIG_DVB_TUNER_XC5000) += xc5000.o 18obj-$(CONFIG_MEDIA_TUNER_XC5000) += xc5000.o
19obj-$(CONFIG_DVB_TUNER_MT2060) += mt2060.o 19obj-$(CONFIG_MEDIA_TUNER_MT2060) += mt2060.o
20obj-$(CONFIG_DVB_TUNER_MT2266) += mt2266.o 20obj-$(CONFIG_MEDIA_TUNER_MT2266) += mt2266.o
21obj-$(CONFIG_DVB_TUNER_QT1010) += qt1010.o 21obj-$(CONFIG_MEDIA_TUNER_QT1010) += qt1010.o
22obj-$(CONFIG_DVB_TUNER_MT2131) += mt2131.o 22obj-$(CONFIG_MEDIA_TUNER_MT2131) += mt2131.o
23 23
24EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core 24EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
25EXTRA_CFLAGS += -Idrivers/media/dvb/frontends 25EXTRA_CFLAGS += -Idrivers/media/dvb/frontends
diff --git a/drivers/media/common/tuners/mt2060.h b/drivers/media/common/tuners/mt2060.h
index acba0058f519..cb60caffb6b6 100644
--- a/drivers/media/common/tuners/mt2060.h
+++ b/drivers/media/common/tuners/mt2060.h
@@ -30,7 +30,7 @@ struct mt2060_config {
30 u8 clock_out; /* 0 = off, 1 = CLK/4, 2 = CLK/2, 3 = CLK/1 */ 30 u8 clock_out; /* 0 = off, 1 = CLK/4, 2 = CLK/2, 3 = CLK/1 */
31}; 31};
32 32
33#if defined(CONFIG_DVB_TUNER_MT2060) || (defined(CONFIG_DVB_TUNER_MT2060_MODULE) && defined(MODULE)) 33#if defined(CONFIG_MEDIA_TUNER_MT2060) || (defined(CONFIG_MEDIA_TUNER_MT2060_MODULE) && defined(MODULE))
34extern struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1); 34extern struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1);
35#else 35#else
36static inline struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1) 36static inline struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1)
@@ -38,6 +38,6 @@ static inline struct dvb_frontend * mt2060_attach(struct dvb_frontend *fe, struc
38 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 38 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
39 return NULL; 39 return NULL;
40} 40}
41#endif // CONFIG_DVB_TUNER_MT2060 41#endif // CONFIG_MEDIA_TUNER_MT2060
42 42
43#endif 43#endif
diff --git a/drivers/media/common/tuners/mt20xx.h b/drivers/media/common/tuners/mt20xx.h
index aa848e14ce5e..259553a24903 100644
--- a/drivers/media/common/tuners/mt20xx.h
+++ b/drivers/media/common/tuners/mt20xx.h
@@ -20,7 +20,7 @@
20#include <linux/i2c.h> 20#include <linux/i2c.h>
21#include "dvb_frontend.h" 21#include "dvb_frontend.h"
22 22
23#if defined(CONFIG_TUNER_MT20XX) || (defined(CONFIG_TUNER_MT20XX_MODULE) && defined(MODULE)) 23#if defined(CONFIG_MEDIA_TUNER_MT20XX) || (defined(CONFIG_MEDIA_TUNER_MT20XX_MODULE) && defined(MODULE))
24extern struct dvb_frontend *microtune_attach(struct dvb_frontend *fe, 24extern struct dvb_frontend *microtune_attach(struct dvb_frontend *fe,
25 struct i2c_adapter* i2c_adap, 25 struct i2c_adapter* i2c_adap,
26 u8 i2c_addr); 26 u8 i2c_addr);
diff --git a/drivers/media/common/tuners/mt2131.h b/drivers/media/common/tuners/mt2131.h
index 606d8576bc98..cd8376f6f7b4 100644
--- a/drivers/media/common/tuners/mt2131.h
+++ b/drivers/media/common/tuners/mt2131.h
@@ -30,7 +30,7 @@ struct mt2131_config {
30 u8 clock_out; /* 0 = off, 1 = CLK/4, 2 = CLK/2, 3 = CLK/1 */ 30 u8 clock_out; /* 0 = off, 1 = CLK/4, 2 = CLK/2, 3 = CLK/1 */
31}; 31};
32 32
33#if defined(CONFIG_DVB_TUNER_MT2131) || (defined(CONFIG_DVB_TUNER_MT2131_MODULE) && defined(MODULE)) 33#if defined(CONFIG_MEDIA_TUNER_MT2131) || (defined(CONFIG_MEDIA_TUNER_MT2131_MODULE) && defined(MODULE))
34extern struct dvb_frontend* mt2131_attach(struct dvb_frontend *fe, 34extern struct dvb_frontend* mt2131_attach(struct dvb_frontend *fe,
35 struct i2c_adapter *i2c, 35 struct i2c_adapter *i2c,
36 struct mt2131_config *cfg, 36 struct mt2131_config *cfg,
@@ -44,7 +44,7 @@ static inline struct dvb_frontend* mt2131_attach(struct dvb_frontend *fe,
44 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 44 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
45 return NULL; 45 return NULL;
46} 46}
47#endif /* CONFIG_DVB_TUNER_MT2131 */ 47#endif /* CONFIG_MEDIA_TUNER_MT2131 */
48 48
49#endif /* __MT2131_H__ */ 49#endif /* __MT2131_H__ */
50 50
diff --git a/drivers/media/common/tuners/mt2266.h b/drivers/media/common/tuners/mt2266.h
index c5113efe333c..4d083882d044 100644
--- a/drivers/media/common/tuners/mt2266.h
+++ b/drivers/media/common/tuners/mt2266.h
@@ -24,7 +24,7 @@ struct mt2266_config {
24 u8 i2c_address; 24 u8 i2c_address;
25}; 25};
26 26
27#if defined(CONFIG_DVB_TUNER_MT2266) || (defined(CONFIG_DVB_TUNER_MT2266_MODULE) && defined(MODULE)) 27#if defined(CONFIG_MEDIA_TUNER_MT2266) || (defined(CONFIG_MEDIA_TUNER_MT2266_MODULE) && defined(MODULE))
28extern struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg); 28extern struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg);
29#else 29#else
30static inline struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg) 30static inline struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2266_config *cfg)
@@ -32,6 +32,6 @@ static inline struct dvb_frontend * mt2266_attach(struct dvb_frontend *fe, struc
32 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 32 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
33 return NULL; 33 return NULL;
34} 34}
35#endif // CONFIG_DVB_TUNER_MT2266 35#endif // CONFIG_MEDIA_TUNER_MT2266
36 36
37#endif 37#endif
diff --git a/drivers/media/common/tuners/qt1010.h b/drivers/media/common/tuners/qt1010.h
index cff6a7ca5380..807fb7b6146b 100644
--- a/drivers/media/common/tuners/qt1010.h
+++ b/drivers/media/common/tuners/qt1010.h
@@ -36,7 +36,7 @@ struct qt1010_config {
36 * @param cfg tuner hw based configuration 36 * @param cfg tuner hw based configuration
37 * @return fe pointer on success, NULL on failure 37 * @return fe pointer on success, NULL on failure
38 */ 38 */
39#if defined(CONFIG_DVB_TUNER_QT1010) || (defined(CONFIG_DVB_TUNER_QT1010_MODULE) && defined(MODULE)) 39#if defined(CONFIG_MEDIA_TUNER_QT1010) || (defined(CONFIG_MEDIA_TUNER_QT1010_MODULE) && defined(MODULE))
40extern struct dvb_frontend *qt1010_attach(struct dvb_frontend *fe, 40extern struct dvb_frontend *qt1010_attach(struct dvb_frontend *fe,
41 struct i2c_adapter *i2c, 41 struct i2c_adapter *i2c,
42 struct qt1010_config *cfg); 42 struct qt1010_config *cfg);
@@ -48,6 +48,6 @@ static inline struct dvb_frontend *qt1010_attach(struct dvb_frontend *fe,
48 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 48 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
49 return NULL; 49 return NULL;
50} 50}
51#endif // CONFIG_DVB_TUNER_QT1010 51#endif // CONFIG_MEDIA_TUNER_QT1010
52 52
53#endif 53#endif
diff --git a/drivers/media/common/tuners/tda18271.h b/drivers/media/common/tuners/tda18271.h
index 0e7af8d05a38..7db9831c0cb0 100644
--- a/drivers/media/common/tuners/tda18271.h
+++ b/drivers/media/common/tuners/tda18271.h
@@ -81,7 +81,7 @@ struct tda18271_config {
81 unsigned int small_i2c:1; 81 unsigned int small_i2c:1;
82}; 82};
83 83
84#if defined(CONFIG_DVB_TDA18271) || (defined(CONFIG_DVB_TDA18271_MODULE) && defined(MODULE)) 84#if defined(CONFIG_MEDIA_TUNER_TDA18271) || (defined(CONFIG_MEDIA_TUNER_TDA18271_MODULE) && defined(MODULE))
85extern struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe, u8 addr, 85extern struct dvb_frontend *tda18271_attach(struct dvb_frontend *fe, u8 addr,
86 struct i2c_adapter *i2c, 86 struct i2c_adapter *i2c,
87 struct tda18271_config *cfg); 87 struct tda18271_config *cfg);
diff --git a/drivers/media/common/tuners/tda827x.h b/drivers/media/common/tuners/tda827x.h
index b73c23570dab..7850a9a1dc8f 100644
--- a/drivers/media/common/tuners/tda827x.h
+++ b/drivers/media/common/tuners/tda827x.h
@@ -51,7 +51,7 @@ struct tda827x_config
51 * @param cfg optional callback function pointers. 51 * @param cfg optional callback function pointers.
52 * @return FE pointer on success, NULL on failure. 52 * @return FE pointer on success, NULL on failure.
53 */ 53 */
54#if defined(CONFIG_DVB_TDA827X) || (defined(CONFIG_DVB_TDA827X_MODULE) && defined(MODULE)) 54#if defined(CONFIG_MEDIA_TUNER_TDA827X) || (defined(CONFIG_MEDIA_TUNER_TDA827X_MODULE) && defined(MODULE))
55extern struct dvb_frontend* tda827x_attach(struct dvb_frontend *fe, int addr, 55extern struct dvb_frontend* tda827x_attach(struct dvb_frontend *fe, int addr,
56 struct i2c_adapter *i2c, 56 struct i2c_adapter *i2c,
57 struct tda827x_config *cfg); 57 struct tda827x_config *cfg);
@@ -64,6 +64,6 @@ static inline struct dvb_frontend* tda827x_attach(struct dvb_frontend *fe,
64 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 64 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
65 return NULL; 65 return NULL;
66} 66}
67#endif // CONFIG_DVB_TDA827X 67#endif // CONFIG_MEDIA_TUNER_TDA827X
68 68
69#endif // __DVB_TDA827X_H__ 69#endif // __DVB_TDA827X_H__
diff --git a/drivers/media/common/tuners/tda8290.h b/drivers/media/common/tuners/tda8290.h
index d3bbf276a469..aa074f3f0c07 100644
--- a/drivers/media/common/tuners/tda8290.h
+++ b/drivers/media/common/tuners/tda8290.h
@@ -29,7 +29,7 @@ struct tda829x_config {
29#define TDA829X_DONT_PROBE 1 29#define TDA829X_DONT_PROBE 1
30}; 30};
31 31
32#if defined(CONFIG_TUNER_TDA8290) || (defined(CONFIG_TUNER_TDA8290_MODULE) && defined(MODULE)) 32#if defined(CONFIG_MEDIA_TUNER_TDA8290) || (defined(CONFIG_MEDIA_TUNER_TDA8290_MODULE) && defined(MODULE))
33extern int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr); 33extern int tda829x_probe(struct i2c_adapter *i2c_adap, u8 i2c_addr);
34 34
35extern struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe, 35extern struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe,
diff --git a/drivers/media/common/tuners/tda9887.h b/drivers/media/common/tuners/tda9887.h
index be49dcbfc70e..acc419e8c4fc 100644
--- a/drivers/media/common/tuners/tda9887.h
+++ b/drivers/media/common/tuners/tda9887.h
@@ -21,7 +21,7 @@
21#include "dvb_frontend.h" 21#include "dvb_frontend.h"
22 22
23/* ------------------------------------------------------------------------ */ 23/* ------------------------------------------------------------------------ */
24#if defined(CONFIG_TUNER_TDA9887) || (defined(CONFIG_TUNER_TDA9887_MODULE) && defined(MODULE)) 24#if defined(CONFIG_MEDIA_TUNER_TDA9887) || (defined(CONFIG_MEDIA_TUNER_TDA9887_MODULE) && defined(MODULE))
25extern struct dvb_frontend *tda9887_attach(struct dvb_frontend *fe, 25extern struct dvb_frontend *tda9887_attach(struct dvb_frontend *fe,
26 struct i2c_adapter *i2c_adap, 26 struct i2c_adapter *i2c_adap,
27 u8 i2c_addr); 27 u8 i2c_addr);
diff --git a/drivers/media/common/tuners/tea5761.h b/drivers/media/common/tuners/tea5761.h
index 8eb62722b988..2e2ff82c95a4 100644
--- a/drivers/media/common/tuners/tea5761.h
+++ b/drivers/media/common/tuners/tea5761.h
@@ -20,7 +20,7 @@
20#include <linux/i2c.h> 20#include <linux/i2c.h>
21#include "dvb_frontend.h" 21#include "dvb_frontend.h"
22 22
23#if defined(CONFIG_TUNER_TEA5761) || (defined(CONFIG_TUNER_TEA5761_MODULE) && defined(MODULE)) 23#if defined(CONFIG_MEDIA_TUNER_TEA5761) || (defined(CONFIG_MEDIA_TUNER_TEA5761_MODULE) && defined(MODULE))
24extern int tea5761_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr); 24extern int tea5761_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr);
25 25
26extern struct dvb_frontend *tea5761_attach(struct dvb_frontend *fe, 26extern struct dvb_frontend *tea5761_attach(struct dvb_frontend *fe,
diff --git a/drivers/media/common/tuners/tea5767.h b/drivers/media/common/tuners/tea5767.h
index 7b547c092e25..d30ab1b483de 100644
--- a/drivers/media/common/tuners/tea5767.h
+++ b/drivers/media/common/tuners/tea5767.h
@@ -39,7 +39,7 @@ struct tea5767_ctrl {
39 enum tea5767_xtal xtal_freq; 39 enum tea5767_xtal xtal_freq;
40}; 40};
41 41
42#if defined(CONFIG_TUNER_TEA5767) || (defined(CONFIG_TUNER_TEA5767_MODULE) && defined(MODULE)) 42#if defined(CONFIG_MEDIA_TUNER_TEA5767) || (defined(CONFIG_MEDIA_TUNER_TEA5767_MODULE) && defined(MODULE))
43extern int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr); 43extern int tea5767_autodetection(struct i2c_adapter* i2c_adap, u8 i2c_addr);
44 44
45extern struct dvb_frontend *tea5767_attach(struct dvb_frontend *fe, 45extern struct dvb_frontend *tea5767_attach(struct dvb_frontend *fe,
diff --git a/drivers/media/common/tuners/tuner-simple.h b/drivers/media/common/tuners/tuner-simple.h
index e46cf0121e03..381fa5d35a9b 100644
--- a/drivers/media/common/tuners/tuner-simple.h
+++ b/drivers/media/common/tuners/tuner-simple.h
@@ -20,7 +20,7 @@
20#include <linux/i2c.h> 20#include <linux/i2c.h>
21#include "dvb_frontend.h" 21#include "dvb_frontend.h"
22 22
23#if defined(CONFIG_TUNER_SIMPLE) || (defined(CONFIG_TUNER_SIMPLE_MODULE) && defined(MODULE)) 23#if defined(CONFIG_MEDIA_TUNER_SIMPLE) || (defined(CONFIG_MEDIA_TUNER_SIMPLE_MODULE) && defined(MODULE))
24extern struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe, 24extern struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe,
25 struct i2c_adapter *i2c_adap, 25 struct i2c_adapter *i2c_adap,
26 u8 i2c_addr, 26 u8 i2c_addr,
diff --git a/drivers/media/common/tuners/tuner-xc2028.h b/drivers/media/common/tuners/tuner-xc2028.h
index fc2f132a5541..216025cf5d4b 100644
--- a/drivers/media/common/tuners/tuner-xc2028.h
+++ b/drivers/media/common/tuners/tuner-xc2028.h
@@ -47,7 +47,7 @@ struct xc2028_config {
47#define XC2028_TUNER_RESET 0 47#define XC2028_TUNER_RESET 0
48#define XC2028_RESET_CLK 1 48#define XC2028_RESET_CLK 1
49 49
50#if defined(CONFIG_TUNER_XC2028) || (defined(CONFIG_TUNER_XC2028_MODULE) && defined(MODULE)) 50#if defined(CONFIG_MEDIA_TUNER_XC2028) || (defined(CONFIG_MEDIA_TUNER_XC2028_MODULE) && defined(MODULE))
51extern struct dvb_frontend *xc2028_attach(struct dvb_frontend *fe, 51extern struct dvb_frontend *xc2028_attach(struct dvb_frontend *fe,
52 struct xc2028_config *cfg); 52 struct xc2028_config *cfg);
53#else 53#else
diff --git a/drivers/media/common/tuners/xc5000.h b/drivers/media/common/tuners/xc5000.h
index b890883a0cdc..0ee80f9d19b8 100644
--- a/drivers/media/common/tuners/xc5000.h
+++ b/drivers/media/common/tuners/xc5000.h
@@ -45,8 +45,8 @@ struct xc5000_config {
45/* xc5000 callback command */ 45/* xc5000 callback command */
46#define XC5000_TUNER_RESET 0 46#define XC5000_TUNER_RESET 0
47 47
48#if defined(CONFIG_DVB_TUNER_XC5000) || \ 48#if defined(CONFIG_MEDIA_TUNER_XC5000) || \
49 (defined(CONFIG_DVB_TUNER_XC5000_MODULE) && defined(MODULE)) 49 (defined(CONFIG_MEDIA_TUNER_XC5000_MODULE) && defined(MODULE))
50extern struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe, 50extern struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe,
51 struct i2c_adapter *i2c, 51 struct i2c_adapter *i2c,
52 struct xc5000_config *cfg); 52 struct xc5000_config *cfg);
@@ -58,6 +58,6 @@ static inline struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe,
58 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); 58 printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
59 return NULL; 59 return NULL;
60} 60}
61#endif // CONFIG_DVB_TUNER_XC5000 61#endif // CONFIG_MEDIA_TUNER_XC5000
62 62
63#endif // __XC5000_H__ 63#endif // __XC5000_H__