aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-rw-r--r--drivers/media/dvb/b2c2/Kconfig2
-rw-r--r--drivers/media/dvb/bt8xx/Kconfig2
-rw-r--r--drivers/media/dvb/bt8xx/dst.c2
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c2
-rw-r--r--drivers/media/dvb/dvb-core/dvbdev.h2
-rw-r--r--drivers/media/dvb/dvb-usb/Kconfig26
-rw-r--r--drivers/media/video/Kconfig2
-rw-r--r--drivers/media/video/Makefile2
-rw-r--r--drivers/media/video/au0828/Kconfig2
-rw-r--r--drivers/media/video/bt8xx/Kconfig2
-rw-r--r--drivers/media/video/cx23885/Kconfig12
-rw-r--r--drivers/media/video/cx88/Kconfig4
-rw-r--r--drivers/media/video/em28xx/Kconfig2
-rw-r--r--drivers/media/video/ivtv/Kconfig2
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c2
-rw-r--r--drivers/media/video/pvrusb2/Kconfig8
-rw-r--r--drivers/media/video/saa7134/Kconfig6
-rw-r--r--drivers/media/video/tuner-core.c2
-rw-r--r--drivers/media/video/usbvision/Kconfig2
35 files changed, 117 insertions, 117 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__
diff --git a/drivers/media/dvb/b2c2/Kconfig b/drivers/media/dvb/b2c2/Kconfig
index 6ec5afba1ca7..73dc2ee9b014 100644
--- a/drivers/media/dvb/b2c2/Kconfig
+++ b/drivers/media/dvb/b2c2/Kconfig
@@ -9,7 +9,7 @@ config DVB_B2C2_FLEXCOP
9 select DVB_STV0297 if !DVB_FE_CUSTOMISE 9 select DVB_STV0297 if !DVB_FE_CUSTOMISE
10 select DVB_BCM3510 if !DVB_FE_CUSTOMISE 10 select DVB_BCM3510 if !DVB_FE_CUSTOMISE
11 select DVB_LGDT330X if !DVB_FE_CUSTOMISE 11 select DVB_LGDT330X if !DVB_FE_CUSTOMISE
12 select TUNER_SIMPLE if !DVB_FE_CUSTOMISE 12 select MEDIA_TUNER_SIMPLE if !DVB_FE_CUSTOMISE
13 select DVB_S5H1420 if !DVB_FE_CUSTOMISE 13 select DVB_S5H1420 if !DVB_FE_CUSTOMISE
14 select DVB_TUNER_ITD1000 if !DVB_FE_CUSTOMISE 14 select DVB_TUNER_ITD1000 if !DVB_FE_CUSTOMISE
15 select DVB_ISL6421 if !DVB_FE_CUSTOMISE 15 select DVB_ISL6421 if !DVB_FE_CUSTOMISE
diff --git a/drivers/media/dvb/bt8xx/Kconfig b/drivers/media/dvb/bt8xx/Kconfig
index 902c762e0b7f..d1239b8342f8 100644
--- a/drivers/media/dvb/bt8xx/Kconfig
+++ b/drivers/media/dvb/bt8xx/Kconfig
@@ -8,7 +8,7 @@ config DVB_BT8XX
8 select DVB_OR51211 if !DVB_FE_CUSTOMISE 8 select DVB_OR51211 if !DVB_FE_CUSTOMISE
9 select DVB_LGDT330X if !DVB_FE_CUSTOMISE 9 select DVB_LGDT330X if !DVB_FE_CUSTOMISE
10 select DVB_ZL10353 if !DVB_FE_CUSTOMISE 10 select DVB_ZL10353 if !DVB_FE_CUSTOMISE
11 select TUNER_SIMPLE if !DVB_FE_CUSTOMISE 11 select MEDIA_TUNER_SIMPLE if !DVB_FE_CUSTOMISE
12 select FW_LOADER 12 select FW_LOADER
13 help 13 help
14 Support for PCI cards based on the Bt8xx PCI bridge. Examples are 14 Support for PCI cards based on the Bt8xx PCI bridge. Examples are
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c
index 75711bde23ad..a7637562e742 100644
--- a/drivers/media/dvb/bt8xx/dst.c
+++ b/drivers/media/dvb/bt8xx/dst.c
@@ -1714,7 +1714,7 @@ static void dst_release(struct dvb_frontend *fe)
1714 struct dst_state *state = fe->demodulator_priv; 1714 struct dst_state *state = fe->demodulator_priv;
1715 if (state->dst_ca) { 1715 if (state->dst_ca) {
1716 dvb_unregister_device(state->dst_ca); 1716 dvb_unregister_device(state->dst_ca);
1717#ifdef CONFIG_DVB_CORE_ATTACH 1717#ifdef CONFIG_MEDIA_ATTACH
1718 symbol_put(dst_ca_attach); 1718 symbol_put(dst_ca_attach);
1719#endif 1719#endif
1720 } 1720 }
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 2dddd08c5445..8cbdb218952f 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -1189,7 +1189,7 @@ int dvb_unregister_frontend(struct dvb_frontend* fe)
1189} 1189}
1190EXPORT_SYMBOL(dvb_unregister_frontend); 1190EXPORT_SYMBOL(dvb_unregister_frontend);
1191 1191
1192#ifdef CONFIG_DVB_CORE_ATTACH 1192#ifdef CONFIG_MEDIA_ATTACH
1193void dvb_frontend_detach(struct dvb_frontend* fe) 1193void dvb_frontend_detach(struct dvb_frontend* fe)
1194{ 1194{
1195 void *ptr; 1195 void *ptr;
diff --git a/drivers/media/dvb/dvb-core/dvbdev.h b/drivers/media/dvb/dvb-core/dvbdev.h
index 5f9a737c6de1..89d12dc477a7 100644
--- a/drivers/media/dvb/dvb-core/dvbdev.h
+++ b/drivers/media/dvb/dvb-core/dvbdev.h
@@ -115,7 +115,7 @@ extern int dvb_usercopy(struct inode *inode, struct file *file,
115 unsigned int cmd, void *arg)); 115 unsigned int cmd, void *arg));
116 116
117/** generic DVB attach function. */ 117/** generic DVB attach function. */
118#ifdef CONFIG_DVB_CORE_ATTACH 118#ifdef CONFIG_MEDIA_ATTACH
119#define dvb_attach(FUNCTION, ARGS...) ({ \ 119#define dvb_attach(FUNCTION, ARGS...) ({ \
120 void *__r = NULL; \ 120 void *__r = NULL; \
121 typeof(&FUNCTION) __a = symbol_request(FUNCTION); \ 121 typeof(&FUNCTION) __a = symbol_request(FUNCTION); \
diff --git a/drivers/media/dvb/dvb-usb/Kconfig b/drivers/media/dvb/dvb-usb/Kconfig
index 3c8493d2026d..4c1cff9feb2e 100644
--- a/drivers/media/dvb/dvb-usb/Kconfig
+++ b/drivers/media/dvb/dvb-usb/Kconfig
@@ -25,7 +25,7 @@ config DVB_USB_A800
25 tristate "AVerMedia AverTV DVB-T USB 2.0 (A800)" 25 tristate "AVerMedia AverTV DVB-T USB 2.0 (A800)"
26 depends on DVB_USB 26 depends on DVB_USB
27 select DVB_DIB3000MC 27 select DVB_DIB3000MC
28 select DVB_TUNER_MT2060 if !DVB_FE_CUSTOMISE 28 select MEDIA_TUNER_MT2060 if !DVB_FE_CUSTOMISE
29 select DVB_PLL if !DVB_FE_CUSTOMISE 29 select DVB_PLL if !DVB_FE_CUSTOMISE
30 help 30 help
31 Say Y here to support the AVerMedia AverTV DVB-T USB 2.0 (A800) receiver. 31 Say Y here to support the AVerMedia AverTV DVB-T USB 2.0 (A800) receiver.
@@ -35,7 +35,7 @@ config DVB_USB_DIBUSB_MB
35 depends on DVB_USB 35 depends on DVB_USB
36 select DVB_PLL if !DVB_FE_CUSTOMISE 36 select DVB_PLL if !DVB_FE_CUSTOMISE
37 select DVB_DIB3000MB 37 select DVB_DIB3000MB
38 select DVB_TUNER_MT2060 if !DVB_FE_CUSTOMISE 38 select MEDIA_TUNER_MT2060 if !DVB_FE_CUSTOMISE
39 help 39 help
40 Support for USB 1.1 and 2.0 DVB-T receivers based on reference designs made by 40 Support for USB 1.1 and 2.0 DVB-T receivers based on reference designs made by
41 DiBcom (<http://www.dibcom.fr>) equipped with a DiB3000M-B demodulator. 41 DiBcom (<http://www.dibcom.fr>) equipped with a DiB3000M-B demodulator.
@@ -56,7 +56,7 @@ config DVB_USB_DIBUSB_MC
56 tristate "DiBcom USB DVB-T devices (based on the DiB3000M-C/P) (see help for device list)" 56 tristate "DiBcom USB DVB-T devices (based on the DiB3000M-C/P) (see help for device list)"
57 depends on DVB_USB 57 depends on DVB_USB
58 select DVB_DIB3000MC 58 select DVB_DIB3000MC
59 select DVB_TUNER_MT2060 if !DVB_FE_CUSTOMISE 59 select MEDIA_TUNER_MT2060 if !DVB_FE_CUSTOMISE
60 help 60 help
61 Support for USB2.0 DVB-T receivers based on reference designs made by 61 Support for USB2.0 DVB-T receivers based on reference designs made by
62 DiBcom (<http://www.dibcom.fr>) equipped with a DiB3000M-C/P demodulator. 62 DiBcom (<http://www.dibcom.fr>) equipped with a DiB3000M-C/P demodulator.
@@ -73,8 +73,8 @@ config DVB_USB_DIB0700
73 select DVB_DIB7000P 73 select DVB_DIB7000P
74 select DVB_DIB7000M 74 select DVB_DIB7000M
75 select DVB_DIB3000MC 75 select DVB_DIB3000MC
76 select DVB_TUNER_MT2060 if !DVB_FE_CUSTOMISE 76 select MEDIA_TUNER_MT2060 if !DVB_FE_CUSTOMISE
77 select DVB_TUNER_MT2266 if !DVB_FE_CUSTOMISE 77 select MEDIA_TUNER_MT2266 if !DVB_FE_CUSTOMISE
78 select DVB_TUNER_DIB0070 78 select DVB_TUNER_DIB0070
79 help 79 help
80 Support for USB2.0/1.1 DVB receivers based on the DiB0700 USB bridge. The 80 Support for USB2.0/1.1 DVB receivers based on the DiB0700 USB bridge. The
@@ -93,7 +93,7 @@ config DVB_USB_UMT_010
93 depends on DVB_USB 93 depends on DVB_USB
94 select DVB_PLL if !DVB_FE_CUSTOMISE 94 select DVB_PLL if !DVB_FE_CUSTOMISE
95 select DVB_DIB3000MC 95 select DVB_DIB3000MC
96 select DVB_TUNER_MT2060 if !DVB_FE_CUSTOMISE 96 select MEDIA_TUNER_MT2060 if !DVB_FE_CUSTOMISE
97 help 97 help
98 Say Y here to support the HanfTek UMT-010 USB2.0 stick-sized DVB-T receiver. 98 Say Y here to support the HanfTek UMT-010 USB2.0 stick-sized DVB-T receiver.
99 99
@@ -105,7 +105,7 @@ config DVB_USB_CXUSB
105 select DVB_LGDT330X if !DVB_FE_CUSTOMISE 105 select DVB_LGDT330X if !DVB_FE_CUSTOMISE
106 select DVB_MT352 if !DVB_FE_CUSTOMISE 106 select DVB_MT352 if !DVB_FE_CUSTOMISE
107 select DVB_ZL10353 if !DVB_FE_CUSTOMISE 107 select DVB_ZL10353 if !DVB_FE_CUSTOMISE
108 select TUNER_SIMPLE if !DVB_FE_CUSTOMISE 108 select MEDIA_TUNER_SIMPLE if !DVB_FE_CUSTOMISE
109 help 109 help
110 Say Y here to support the Conexant USB2.0 hybrid reference design. 110 Say Y here to support the Conexant USB2.0 hybrid reference design.
111 Currently, only DVB and ATSC modes are supported, analog mode 111 Currently, only DVB and ATSC modes are supported, analog mode
@@ -118,7 +118,7 @@ config DVB_USB_M920X
118 tristate "Uli m920x DVB-T USB2.0 support" 118 tristate "Uli m920x DVB-T USB2.0 support"
119 depends on DVB_USB 119 depends on DVB_USB
120 select DVB_MT352 if !DVB_FE_CUSTOMISE 120 select DVB_MT352 if !DVB_FE_CUSTOMISE
121 select DVB_TUNER_QT1010 if !DVB_FE_CUSTOMISE 121 select MEDIA_TUNER_QT1010 if !DVB_FE_CUSTOMISE
122 help 122 help
123 Say Y here to support the MSI Mega Sky 580 USB2.0 DVB-T receiver. 123 Say Y here to support the MSI Mega Sky 580 USB2.0 DVB-T receiver.
124 Currently, only devices with a product id of 124 Currently, only devices with a product id of
@@ -129,7 +129,7 @@ config DVB_USB_GL861
129 tristate "Genesys Logic GL861 USB2.0 support" 129 tristate "Genesys Logic GL861 USB2.0 support"
130 depends on DVB_USB 130 depends on DVB_USB
131 select DVB_ZL10353 if !DVB_FE_CUSTOMISE 131 select DVB_ZL10353 if !DVB_FE_CUSTOMISE
132 select DVB_TUNER_QT1010 if !DVB_FE_CUSTOMISE 132 select MEDIA_TUNER_QT1010 if !DVB_FE_CUSTOMISE
133 help 133 help
134 Say Y here to support the MSI Megasky 580 (55801) DVB-T USB2.0 134 Say Y here to support the MSI Megasky 580 (55801) DVB-T USB2.0
135 receiver with USB ID 0db0:5581. 135 receiver with USB ID 0db0:5581.
@@ -138,7 +138,7 @@ config DVB_USB_AU6610
138 tristate "Alcor Micro AU6610 USB2.0 support" 138 tristate "Alcor Micro AU6610 USB2.0 support"
139 depends on DVB_USB 139 depends on DVB_USB
140 select DVB_ZL10353 if !DVB_FE_CUSTOMISE 140 select DVB_ZL10353 if !DVB_FE_CUSTOMISE
141 select DVB_TUNER_QT1010 if !DVB_FE_CUSTOMISE 141 select MEDIA_TUNER_QT1010 if !DVB_FE_CUSTOMISE
142 help 142 help
143 Say Y here to support the Sigmatek DVB-110 DVB-T USB2.0 receiver. 143 Say Y here to support the Sigmatek DVB-110 DVB-T USB2.0 receiver.
144 144
@@ -190,7 +190,7 @@ config DVB_USB_NOVA_T_USB2
190 tristate "Hauppauge WinTV-NOVA-T usb2 DVB-T USB2.0 support" 190 tristate "Hauppauge WinTV-NOVA-T usb2 DVB-T USB2.0 support"
191 depends on DVB_USB 191 depends on DVB_USB
192 select DVB_DIB3000MC 192 select DVB_DIB3000MC
193 select DVB_TUNER_MT2060 if !DVB_FE_CUSTOMISE 193 select MEDIA_TUNER_MT2060 if !DVB_FE_CUSTOMISE
194 select DVB_PLL if !DVB_FE_CUSTOMISE 194 select DVB_PLL if !DVB_FE_CUSTOMISE
195 help 195 help
196 Say Y here to support the Hauppauge WinTV-NOVA-T usb2 DVB-T USB2.0 receiver. 196 Say Y here to support the Hauppauge WinTV-NOVA-T usb2 DVB-T USB2.0 receiver.
@@ -227,8 +227,8 @@ config DVB_USB_OPERA1
227config DVB_USB_AF9005 227config DVB_USB_AF9005
228 tristate "Afatech AF9005 DVB-T USB1.1 support" 228 tristate "Afatech AF9005 DVB-T USB1.1 support"
229 depends on DVB_USB && EXPERIMENTAL 229 depends on DVB_USB && EXPERIMENTAL
230 select DVB_TUNER_MT2060 if !DVB_FE_CUSTOMISE 230 select MEDIA_TUNER_MT2060 if !DVB_FE_CUSTOMISE
231 select DVB_TUNER_QT1010 if !DVB_FE_CUSTOMISE 231 select MEDIA_TUNER_QT1010 if !DVB_FE_CUSTOMISE
232 help 232 help
233 Say Y here to support the Afatech AF9005 based DVB-T USB1.1 receiver 233 Say Y here to support the Afatech AF9005 based DVB-T USB1.1 receiver
234 and the TerraTec Cinergy T USB XE (Rev.1) 234 and the TerraTec Cinergy T USB XE (Rev.1)
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index e99bfcf28112..7dda5d54716d 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -690,7 +690,7 @@ config VIDEO_MXB
690 tristate "Siemens-Nixdorf 'Multimedia eXtension Board'" 690 tristate "Siemens-Nixdorf 'Multimedia eXtension Board'"
691 depends on PCI && VIDEO_V4L1 && I2C 691 depends on PCI && VIDEO_V4L1 && I2C
692 select VIDEO_SAA7146_VV 692 select VIDEO_SAA7146_VV
693 select VIDEO_TUNER 693 select MEDIA_TUNER
694 select VIDEO_SAA7111 if VIDEO_HELPER_CHIPS_AUTO 694 select VIDEO_SAA7111 if VIDEO_HELPER_CHIPS_AUTO
695 select VIDEO_TDA9840 if VIDEO_HELPER_CHIPS_AUTO 695 select VIDEO_TDA9840 if VIDEO_HELPER_CHIPS_AUTO
696 select VIDEO_TEA6415C if VIDEO_HELPER_CHIPS_AUTO 696 select VIDEO_TEA6415C if VIDEO_HELPER_CHIPS_AUTO
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
index 73f87aede074..560dc32d4cb7 100644
--- a/drivers/media/video/Makefile
+++ b/drivers/media/video/Makefile
@@ -84,7 +84,7 @@ obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o
84obj-$(CONFIG_VIDEO_DPC) += dpc7146.o 84obj-$(CONFIG_VIDEO_DPC) += dpc7146.o
85obj-$(CONFIG_TUNER_3036) += tuner-3036.o 85obj-$(CONFIG_TUNER_3036) += tuner-3036.o
86 86
87obj-$(CONFIG_VIDEO_TUNER) += tuner.o 87obj-$(CONFIG_MEDIA_TUNER) += tuner.o
88 88
89obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o 89obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
90obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o 90obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
diff --git a/drivers/media/video/au0828/Kconfig b/drivers/media/video/au0828/Kconfig
index 41708267e7a4..cab277fafa63 100644
--- a/drivers/media/video/au0828/Kconfig
+++ b/drivers/media/video/au0828/Kconfig
@@ -4,7 +4,7 @@ config VIDEO_AU0828
4 depends on VIDEO_DEV && I2C && INPUT && DVB_CORE 4 depends on VIDEO_DEV && I2C && INPUT && DVB_CORE
5 select I2C_ALGOBIT 5 select I2C_ALGOBIT
6 select DVB_AU8522 if !DVB_FE_CUSTOMIZE 6 select DVB_AU8522 if !DVB_FE_CUSTOMIZE
7 select DVB_TUNER_XC5000 if !DVB_FE_CUSTOMIZE 7 select MEDIA_TUNER_XC5000 if !DVB_FE_CUSTOMIZE
8 ---help--- 8 ---help---
9 This is a video4linux driver for Auvitek's USB device. 9 This is a video4linux driver for Auvitek's USB device.
10 10
diff --git a/drivers/media/video/bt8xx/Kconfig b/drivers/media/video/bt8xx/Kconfig
index cfc822bb502a..7431ef6de9f1 100644
--- a/drivers/media/video/bt8xx/Kconfig
+++ b/drivers/media/video/bt8xx/Kconfig
@@ -6,7 +6,7 @@ config VIDEO_BT848
6 select VIDEO_BTCX 6 select VIDEO_BTCX
7 select VIDEOBUF_DMA_SG 7 select VIDEOBUF_DMA_SG
8 select VIDEO_IR 8 select VIDEO_IR
9 select VIDEO_TUNER 9 select MEDIA_TUNER
10 select VIDEO_TVEEPROM 10 select VIDEO_TVEEPROM
11 select VIDEO_MSP3400 if VIDEO_HELPER_CHIPS_AUTO 11 select VIDEO_MSP3400 if VIDEO_HELPER_CHIPS_AUTO
12 select VIDEO_TVAUDIO if VIDEO_HELPER_CHIPS_AUTO 12 select VIDEO_TVAUDIO if VIDEO_HELPER_CHIPS_AUTO
diff --git a/drivers/media/video/cx23885/Kconfig b/drivers/media/video/cx23885/Kconfig
index ca5fbce3a909..cadf936c3673 100644
--- a/drivers/media/video/cx23885/Kconfig
+++ b/drivers/media/video/cx23885/Kconfig
@@ -4,19 +4,19 @@ config VIDEO_CX23885
4 select I2C_ALGOBIT 4 select I2C_ALGOBIT
5 select FW_LOADER 5 select FW_LOADER
6 select VIDEO_BTCX 6 select VIDEO_BTCX
7 select VIDEO_TUNER 7 select MEDIA_TUNER
8 select VIDEO_TVEEPROM 8 select VIDEO_TVEEPROM
9 select VIDEO_IR 9 select VIDEO_IR
10 select VIDEOBUF_DVB 10 select VIDEOBUF_DVB
11 select VIDEO_CX25840 11 select VIDEO_CX25840
12 select DVB_TUNER_MT2131 if !DVB_FE_CUSTOMISE 12 select MEDIA_TUNER_MT2131 if !DVB_FE_CUSTOMISE
13 select DVB_S5H1409 if !DVB_FE_CUSTOMISE 13 select DVB_S5H1409 if !DVB_FE_CUSTOMISE
14 select DVB_LGDT330X if !DVB_FE_CUSTOMISE 14 select DVB_LGDT330X if !DVB_FE_CUSTOMISE
15 select DVB_PLL if !DVB_FE_CUSTOMISE 15 select DVB_PLL if !DVB_FE_CUSTOMISE
16 select TUNER_XC2028 if !DVB_FE_CUSTOMIZE 16 select MEDIA_TUNER_XC2028 if !DVB_FE_CUSTOMIZE
17 select TUNER_TDA8290 if !DVB_FE_CUSTOMIZE 17 select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
18 select DVB_TDA18271 if !DVB_FE_CUSTOMIZE 18 select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
19 select DVB_TUNER_XC5000 if !DVB_FE_CUSTOMIZE 19 select MEDIA_TUNER_XC5000 if !DVB_FE_CUSTOMIZE
20 select DVB_TDA10048 if !DVB_FE_CUSTOMIZE 20 select DVB_TDA10048 if !DVB_FE_CUSTOMIZE
21 ---help--- 21 ---help---
22 This is a video4linux driver for Conexant 23885 based 22 This is a video4linux driver for Conexant 23885 based
diff --git a/drivers/media/video/cx88/Kconfig b/drivers/media/video/cx88/Kconfig
index 27635cdcbaf2..b0d7d6a7a4cc 100644
--- a/drivers/media/video/cx88/Kconfig
+++ b/drivers/media/video/cx88/Kconfig
@@ -5,7 +5,7 @@ config VIDEO_CX88
5 select FW_LOADER 5 select FW_LOADER
6 select VIDEO_BTCX 6 select VIDEO_BTCX
7 select VIDEOBUF_DMA_SG 7 select VIDEOBUF_DMA_SG
8 select VIDEO_TUNER 8 select MEDIA_TUNER
9 select VIDEO_TVEEPROM 9 select VIDEO_TVEEPROM
10 select VIDEO_IR 10 select VIDEO_IR
11 select VIDEO_WM8775 if VIDEO_HELPER_CHIPS_AUTO 11 select VIDEO_WM8775 if VIDEO_HELPER_CHIPS_AUTO
@@ -57,7 +57,7 @@ config VIDEO_CX88_DVB
57 select DVB_NXT200X if !DVB_FE_CUSTOMISE 57 select DVB_NXT200X if !DVB_FE_CUSTOMISE
58 select DVB_CX24123 if !DVB_FE_CUSTOMISE 58 select DVB_CX24123 if !DVB_FE_CUSTOMISE
59 select DVB_ISL6421 if !DVB_FE_CUSTOMISE 59 select DVB_ISL6421 if !DVB_FE_CUSTOMISE
60 select TUNER_SIMPLE if !DVB_FE_CUSTOMISE 60 select MEDIA_TUNER_SIMPLE if !DVB_FE_CUSTOMISE
61 select DVB_S5H1411 if !DVB_FE_CUSTOMISE 61 select DVB_S5H1411 if !DVB_FE_CUSTOMISE
62 ---help--- 62 ---help---
63 This adds support for DVB/ATSC cards based on the 63 This adds support for DVB/ATSC cards based on the
diff --git a/drivers/media/video/em28xx/Kconfig b/drivers/media/video/em28xx/Kconfig
index 9caffed2b6b8..c7c2896bbd8b 100644
--- a/drivers/media/video/em28xx/Kconfig
+++ b/drivers/media/video/em28xx/Kconfig
@@ -1,7 +1,7 @@
1config VIDEO_EM28XX 1config VIDEO_EM28XX
2 tristate "Empia EM28xx USB video capture support" 2 tristate "Empia EM28xx USB video capture support"
3 depends on VIDEO_DEV && I2C && INPUT 3 depends on VIDEO_DEV && I2C && INPUT
4 select VIDEO_TUNER 4 select MEDIA_TUNER
5 select VIDEO_TVEEPROM 5 select VIDEO_TVEEPROM
6 select VIDEO_IR 6 select VIDEO_IR
7 select VIDEOBUF_VMALLOC 7 select VIDEOBUF_VMALLOC
diff --git a/drivers/media/video/ivtv/Kconfig b/drivers/media/video/ivtv/Kconfig
index b6171702c4d0..eec115bf9517 100644
--- a/drivers/media/video/ivtv/Kconfig
+++ b/drivers/media/video/ivtv/Kconfig
@@ -4,7 +4,7 @@ config VIDEO_IVTV
4 select I2C_ALGOBIT 4 select I2C_ALGOBIT
5 select FW_LOADER 5 select FW_LOADER
6 select VIDEO_IR 6 select VIDEO_IR
7 select VIDEO_TUNER 7 select MEDIA_TUNER
8 select VIDEO_TVEEPROM 8 select VIDEO_TVEEPROM
9 select VIDEO_CX2341X 9 select VIDEO_CX2341X
10 select VIDEO_CX25840 10 select VIDEO_CX25840
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index da696e155fc6..47b5649729df 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -872,7 +872,7 @@ static void ivtv_load_and_init_modules(struct ivtv *itv)
872 unsigned i; 872 unsigned i;
873 873
874 /* load modules */ 874 /* load modules */
875#ifndef CONFIG_VIDEO_TUNER 875#ifndef CONFIG_MEDIA_TUNER
876 hw = ivtv_request_module(itv, hw, "tuner", IVTV_HW_TUNER); 876 hw = ivtv_request_module(itv, hw, "tuner", IVTV_HW_TUNER);
877#endif 877#endif
878#ifndef CONFIG_VIDEO_CX25840 878#ifndef CONFIG_VIDEO_CX25840
diff --git a/drivers/media/video/pvrusb2/Kconfig b/drivers/media/video/pvrusb2/Kconfig
index 158b3d0c6532..f278d980b83a 100644
--- a/drivers/media/video/pvrusb2/Kconfig
+++ b/drivers/media/video/pvrusb2/Kconfig
@@ -2,7 +2,7 @@ config VIDEO_PVRUSB2
2 tristate "Hauppauge WinTV-PVR USB2 support" 2 tristate "Hauppauge WinTV-PVR USB2 support"
3 depends on VIDEO_V4L2 && I2C && EXPERIMENTAL 3 depends on VIDEO_V4L2 && I2C && EXPERIMENTAL
4 select FW_LOADER 4 select FW_LOADER
5 select VIDEO_TUNER 5 select MEDIA_TUNER
6 select VIDEO_TVEEPROM 6 select VIDEO_TVEEPROM
7 select VIDEO_CX2341X 7 select VIDEO_CX2341X
8 select VIDEO_SAA711X 8 select VIDEO_SAA711X
@@ -66,9 +66,9 @@ config VIDEO_PVRUSB2_DVB
66 select DVB_S5H1409 if !DVB_FE_CUSTOMISE 66 select DVB_S5H1409 if !DVB_FE_CUSTOMISE
67 select DVB_S5H1411 if !DVB_FE_CUSTOMISE 67 select DVB_S5H1411 if !DVB_FE_CUSTOMISE
68 select DVB_TDA10048 if !DVB_FE_CUSTOMIZE 68 select DVB_TDA10048 if !DVB_FE_CUSTOMIZE
69 select DVB_TDA18271 if !DVB_FE_CUSTOMIZE 69 select MEDIA_TUNER_TDA18271 if !DVB_FE_CUSTOMIZE
70 select TUNER_SIMPLE if !DVB_FE_CUSTOMISE 70 select MEDIA_TUNER_SIMPLE if !DVB_FE_CUSTOMISE
71 select TUNER_TDA8290 if !DVB_FE_CUSTOMIZE 71 select MEDIA_TUNER_TDA8290 if !DVB_FE_CUSTOMIZE
72 ---help--- 72 ---help---
73 73
74 This option enables compilation of a DVB interface for the 74 This option enables compilation of a DVB interface for the
diff --git a/drivers/media/video/saa7134/Kconfig b/drivers/media/video/saa7134/Kconfig
index e086f14d5663..40e4c3bd2cb9 100644
--- a/drivers/media/video/saa7134/Kconfig
+++ b/drivers/media/video/saa7134/Kconfig
@@ -3,7 +3,7 @@ config VIDEO_SAA7134
3 depends on VIDEO_DEV && PCI && I2C && INPUT 3 depends on VIDEO_DEV && PCI && I2C && INPUT
4 select VIDEOBUF_DMA_SG 4 select VIDEOBUF_DMA_SG
5 select VIDEO_IR 5 select VIDEO_IR
6 select VIDEO_TUNER 6 select MEDIA_TUNER
7 select VIDEO_TVEEPROM 7 select VIDEO_TVEEPROM
8 select CRC32 8 select CRC32
9 ---help--- 9 ---help---
@@ -35,9 +35,9 @@ config VIDEO_SAA7134_DVB
35 select DVB_NXT200X if !DVB_FE_CUSTOMISE 35 select DVB_NXT200X if !DVB_FE_CUSTOMISE
36 select DVB_TDA10086 if !DVB_FE_CUSTOMISE 36 select DVB_TDA10086 if !DVB_FE_CUSTOMISE
37 select DVB_TDA826X if !DVB_FE_CUSTOMISE 37 select DVB_TDA826X if !DVB_FE_CUSTOMISE
38 select DVB_TDA827X if !DVB_FE_CUSTOMISE 38 select MEDIA_TUNER_TDA827X if !DVB_FE_CUSTOMISE
39 select DVB_ISL6421 if !DVB_FE_CUSTOMISE 39 select DVB_ISL6421 if !DVB_FE_CUSTOMISE
40 select TUNER_SIMPLE if !DVB_FE_CUSTOMISE 40 select MEDIA_TUNER_SIMPLE if !DVB_FE_CUSTOMISE
41 ---help--- 41 ---help---
42 This adds support for DVB cards based on the 42 This adds support for DVB cards based on the
43 Philips saa7134 chip. 43 Philips saa7134 chip.
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 24ae2bc516ab..6d4b9217ec3e 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -56,7 +56,7 @@ struct tuner {
56 56
57/* standard i2c insmod options */ 57/* standard i2c insmod options */
58static unsigned short normal_i2c[] = { 58static unsigned short normal_i2c[] = {
59#if defined(CONFIG_TUNER_TEA5761) || (defined(CONFIG_TUNER_TEA5761_MODULE) && defined(MODULE)) 59#if defined(CONFIG_MEDIA_TUNER_TEA5761) || (defined(CONFIG_MEDIA_TUNER_TEA5761_MODULE) && defined(MODULE))
60 0x10, 60 0x10,
61#endif 61#endif
62 0x42, 0x43, 0x4a, 0x4b, /* tda8290 */ 62 0x42, 0x43, 0x4a, 0x4b, /* tda8290 */
diff --git a/drivers/media/video/usbvision/Kconfig b/drivers/media/video/usbvision/Kconfig
index fc24ef05b3f3..74e1d3075a20 100644
--- a/drivers/media/video/usbvision/Kconfig
+++ b/drivers/media/video/usbvision/Kconfig
@@ -1,7 +1,7 @@
1config VIDEO_USBVISION 1config VIDEO_USBVISION
2 tristate "USB video devices based on Nogatech NT1003/1004/1005" 2 tristate "USB video devices based on Nogatech NT1003/1004/1005"
3 depends on I2C && VIDEO_V4L2 3 depends on I2C && VIDEO_V4L2
4 select VIDEO_TUNER 4 select MEDIA_TUNER
5 select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO 5 select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO
6 ---help--- 6 ---help---
7 There are more than 50 different USB video devices based on 7 There are more than 50 different USB video devices based on