diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/Kconfig | 156 | ||||
-rw-r--r-- | drivers/media/Makefile | 10 | ||||
-rw-r--r-- | drivers/media/common/tuners/Kconfig | 118 | ||||
-rw-r--r-- | drivers/media/common/tuners/Makefile | 21 | ||||
-rw-r--r-- | drivers/media/common/tuners/mt20xx.c (renamed from drivers/media/video/mt20xx.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/mt20xx.h (renamed from drivers/media/video/mt20xx.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda18271-common.c (renamed from drivers/media/dvb/frontends/tda18271-common.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda18271-fe.c (renamed from drivers/media/dvb/frontends/tda18271-fe.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda18271-maps.c (renamed from drivers/media/dvb/frontends/tda18271-tables.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda18271-priv.h (renamed from drivers/media/dvb/frontends/tda18271-priv.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda18271.h (renamed from drivers/media/dvb/frontends/tda18271.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda827x.c (renamed from drivers/media/dvb/frontends/tda827x.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda827x.h (renamed from drivers/media/dvb/frontends/tda827x.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda8290.c (renamed from drivers/media/video/tda8290.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda8290.h (renamed from drivers/media/video/tda8290.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda9887.c (renamed from drivers/media/video/tda9887.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tda9887.h (renamed from drivers/media/video/tda9887.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tea5761.c (renamed from drivers/media/video/tea5761.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tea5761.h (renamed from drivers/media/video/tea5761.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tea5767.c (renamed from drivers/media/video/tea5767.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tea5767.h (renamed from drivers/media/video/tea5767.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tuner-i2c.h (renamed from drivers/media/video/tuner-i2c.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tuner-simple.c (renamed from drivers/media/video/tuner-simple.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tuner-simple.h (renamed from drivers/media/video/tuner-simple.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tuner-types.c (renamed from drivers/media/video/tuner-types.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tuner-xc2028-types.h (renamed from drivers/media/video/tuner-xc2028-types.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tuner-xc2028.c (renamed from drivers/media/video/tuner-xc2028.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/tuner-xc2028.h (renamed from drivers/media/video/tuner-xc2028.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/xc5000.c (renamed from drivers/media/dvb/frontends/xc5000.c) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/xc5000.h (renamed from drivers/media/dvb/frontends/xc5000.h) | 0 | ||||
-rw-r--r-- | drivers/media/common/tuners/xc5000_priv.h (renamed from drivers/media/dvb/frontends/xc5000_priv.h) | 0 | ||||
-rw-r--r-- | drivers/media/dvb/Kconfig | 4 | ||||
-rw-r--r-- | drivers/media/dvb/b2c2/Makefile | 2 | ||||
-rw-r--r-- | drivers/media/dvb/bt8xx/Makefile | 2 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-core/Kconfig | 34 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/Makefile | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/Kconfig | 23 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/Makefile | 7 | ||||
-rw-r--r-- | drivers/media/video/Kconfig | 46 | ||||
-rw-r--r-- | drivers/media/video/Makefile | 11 | ||||
-rw-r--r-- | drivers/media/video/au0828/Makefile | 2 | ||||
-rw-r--r-- | drivers/media/video/bt8xx/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/video/cx23885/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/video/cx88/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/video/em28xx/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/video/ivtv/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/video/saa7134/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/video/usbvision/Makefile | 1 |
49 files changed, 248 insertions, 198 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 128bb9cd5755..b5664927df91 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig | |||
@@ -5,6 +5,12 @@ | |||
5 | menu "Multimedia devices" | 5 | menu "Multimedia devices" |
6 | depends on HAS_IOMEM | 6 | depends on HAS_IOMEM |
7 | 7 | ||
8 | comment "Multimedia core support" | ||
9 | |||
10 | # | ||
11 | # V4L core and enabled API's | ||
12 | # | ||
13 | |||
8 | config VIDEO_DEV | 14 | config VIDEO_DEV |
9 | tristate "Video For Linux" | 15 | tristate "Video For Linux" |
10 | ---help--- | 16 | ---help--- |
@@ -58,135 +64,59 @@ config VIDEO_V4L1_COMPAT | |||
58 | 64 | ||
59 | If you are unsure as to whether this is required, answer Y. | 65 | If you are unsure as to whether this is required, answer Y. |
60 | 66 | ||
61 | config VIDEO_V4L2 | 67 | # |
62 | tristate | 68 | # DVB Core |
63 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON | 69 | # |
64 | default VIDEO_DEV && VIDEO_V4L2_COMMON | ||
65 | |||
66 | config VIDEO_V4L1 | ||
67 | tristate | ||
68 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON && VIDEO_ALLOW_V4L1 | ||
69 | default VIDEO_DEV && VIDEO_V4L2_COMMON && VIDEO_ALLOW_V4L1 | ||
70 | |||
71 | source "drivers/media/video/Kconfig" | ||
72 | |||
73 | source "drivers/media/radio/Kconfig" | ||
74 | |||
75 | source "drivers/media/dvb/Kconfig" | ||
76 | |||
77 | source "drivers/media/common/Kconfig" | ||
78 | 70 | ||
79 | config VIDEO_TUNER | 71 | config DVB_CORE |
80 | tristate | 72 | tristate "DVB for Linux" |
81 | depends on I2C | 73 | depends on NET && INET |
82 | select TUNER_XC2028 if !VIDEO_TUNER_CUSTOMIZE | 74 | select CRC32 |
83 | select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE | ||
84 | select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE | ||
85 | select TUNER_TEA5761 if !VIDEO_TUNER_CUSTOMIZE | ||
86 | select TUNER_TEA5767 if !VIDEO_TUNER_CUSTOMIZE | ||
87 | select TUNER_SIMPLE if !VIDEO_TUNER_CUSTOMIZE | ||
88 | select TUNER_TDA9887 if !VIDEO_TUNER_CUSTOMIZE | ||
89 | |||
90 | menuconfig VIDEO_TUNER_CUSTOMIZE | ||
91 | bool "Customize analog tuner modules to build" | ||
92 | depends on VIDEO_TUNER | ||
93 | help | 75 | help |
94 | This allows the user to deselect tuner drivers unnecessary | 76 | Support Digital Video Broadcasting hardware. Enable this if you |
95 | for their hardware from the build. Use this option with care | 77 | own a DVB adapter and want to use it or if you compile Linux for |
96 | as deselecting tuner drivers which are in fact necessary will | 78 | a digital SetTopBox. |
97 | result in V4L devices which cannot be tuned due to lack of | ||
98 | driver support | ||
99 | 79 | ||
100 | If unsure say N. | 80 | DVB core utility functions for device handling, software fallbacks etc. |
101 | 81 | Say Y when you have a DVB card and want to use it. Say Y if your want | |
102 | if VIDEO_TUNER_CUSTOMIZE | 82 | to build your drivers outside the kernel, but need the DVB core. All |
83 | in-kernel drivers will select this automatically if needed. | ||
103 | 84 | ||
104 | config TUNER_XC2028 | 85 | API specs and user tools are available from <http://www.linuxtv.org/>. |
105 | tristate "XCeive xc2028/xc3028 tuners" | ||
106 | depends on I2C && FW_LOADER | ||
107 | default m if VIDEO_TUNER_CUSTOMIZE | ||
108 | help | ||
109 | Say Y here to include support for the xc2028/xc3028 tuners. | ||
110 | 86 | ||
111 | config TUNER_MT20XX | 87 | Please report problems regarding this driver to the LinuxDVB |
112 | tristate "Microtune 2032 / 2050 tuners" | 88 | mailing list. |
113 | depends on I2C | ||
114 | default m if VIDEO_TUNER_CUSTOMIZE | ||
115 | help | ||
116 | Say Y here to include support for the MT2032 / MT2050 tuner. | ||
117 | |||
118 | config TUNER_TDA8290 | ||
119 | tristate "TDA 8290/8295 + 8275(a)/18271 tuner combo" | ||
120 | depends on I2C | ||
121 | select DVB_TDA827X | ||
122 | select DVB_TDA18271 | ||
123 | default m if VIDEO_TUNER_CUSTOMIZE | ||
124 | help | ||
125 | Say Y here to include support for Philips TDA8290+8275(a) tuner. | ||
126 | 89 | ||
127 | config TUNER_TEA5761 | 90 | If unsure say N. |
128 | tristate "TEA 5761 radio tuner (EXPERIMENTAL)" | ||
129 | depends on I2C && EXPERIMENTAL | ||
130 | default m if VIDEO_TUNER_CUSTOMIZE | ||
131 | help | ||
132 | Say Y here to include support for the Philips TEA5761 radio tuner. | ||
133 | |||
134 | config TUNER_TEA5767 | ||
135 | tristate "TEA 5767 radio tuner" | ||
136 | depends on I2C | ||
137 | default m if VIDEO_TUNER_CUSTOMIZE | ||
138 | help | ||
139 | Say Y here to include support for the Philips TEA5767 radio tuner. | ||
140 | |||
141 | config TUNER_SIMPLE | ||
142 | tristate "Simple tuner support" | ||
143 | depends on I2C | ||
144 | select TUNER_TDA9887 | ||
145 | default m if VIDEO_TUNER_CUSTOMIZE | ||
146 | help | ||
147 | Say Y here to include support for various simple tuners. | ||
148 | 91 | ||
149 | config TUNER_TDA9887 | 92 | config VIDEO_MEDIA |
150 | tristate "TDA 9885/6/7 analog IF demodulator" | 93 | tristate |
151 | depends on I2C | 94 | default DVB_CORE || VIDEO_DEV |
152 | default m if VIDEO_TUNER_CUSTOMIZE | 95 | depends on DVB_CORE || VIDEO_DEV |
153 | help | ||
154 | Say Y here to include support for Philips TDA9885/6/7 | ||
155 | analog IF demodulator. | ||
156 | 96 | ||
157 | endif # VIDEO_TUNER_CUSTOMIZE | 97 | comment "Multimedia drivers" |
158 | 98 | ||
159 | config VIDEOBUF_GEN | 99 | source "drivers/media/common/Kconfig" |
160 | tristate | ||
161 | 100 | ||
162 | config VIDEOBUF_DMA_SG | 101 | # |
163 | depends on HAS_DMA | 102 | # Tuner drivers for DVB and V4L |
164 | select VIDEOBUF_GEN | 103 | # |
165 | tristate | ||
166 | 104 | ||
167 | config VIDEOBUF_VMALLOC | 105 | source "drivers/media/common/tuners/Kconfig" |
168 | select VIDEOBUF_GEN | ||
169 | tristate | ||
170 | 106 | ||
171 | config VIDEOBUF_DVB | 107 | # |
172 | tristate | 108 | # Video/Radio/Hybrid adapters |
173 | select VIDEOBUF_GEN | 109 | # |
174 | select VIDEOBUF_DMA_SG | ||
175 | 110 | ||
176 | config VIDEO_BTCX | 111 | source "drivers/media/video/Kconfig" |
177 | tristate | ||
178 | 112 | ||
179 | config VIDEO_IR_I2C | 113 | source "drivers/media/radio/Kconfig" |
180 | tristate | ||
181 | 114 | ||
182 | config VIDEO_IR | 115 | # |
183 | tristate | 116 | # DVB adapters |
184 | depends on INPUT | 117 | # |
185 | select VIDEO_IR_I2C if I2C | ||
186 | 118 | ||
187 | config VIDEO_TVEEPROM | 119 | source "drivers/media/dvb/Kconfig" |
188 | tristate | ||
189 | depends on I2C | ||
190 | 120 | ||
191 | config DAB | 121 | config DAB |
192 | boolean "DAB adapters" | 122 | boolean "DAB adapters" |
diff --git a/drivers/media/Makefile b/drivers/media/Makefile index 7b8bb6949f5e..73f742c7e818 100644 --- a/drivers/media/Makefile +++ b/drivers/media/Makefile | |||
@@ -2,10 +2,10 @@ | |||
2 | # Makefile for the kernel multimedia device drivers. | 2 | # Makefile for the kernel multimedia device drivers. |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := common/ | 5 | obj-$(CONFIG_VIDEO_MEDIA) += common/ |
6 | obj-y += video/ | 6 | |
7 | # Since hybrid devices are here, should be compiled if DVB and/or V4L | ||
8 | obj-$(CONFIG_VIDEO_MEDIA) += video/ | ||
9 | |||
7 | obj-$(CONFIG_VIDEO_DEV) += radio/ | 10 | obj-$(CONFIG_VIDEO_DEV) += radio/ |
8 | obj-$(CONFIG_DVB_CORE) += dvb/ | 11 | obj-$(CONFIG_DVB_CORE) += dvb/ |
9 | ifeq ($(CONFIG_DVB_CORE),) | ||
10 | obj-$(CONFIG_VIDEO_TUNER) += dvb/frontends/ | ||
11 | endif | ||
diff --git a/drivers/media/common/tuners/Kconfig b/drivers/media/common/tuners/Kconfig new file mode 100644 index 000000000000..9a6a9022e970 --- /dev/null +++ b/drivers/media/common/tuners/Kconfig | |||
@@ -0,0 +1,118 @@ | |||
1 | config DVB_CORE_ATTACH | ||
2 | bool "Load and attach frontend driver modules as needed" | ||
3 | depends on DVB_CORE | ||
4 | depends on MODULES | ||
5 | help | ||
6 | Remove the static dependency of DVB card drivers on all | ||
7 | frontend modules for all possible card variants. Instead, | ||
8 | allow the card drivers to only load the frontend modules | ||
9 | they require. This saves several KBytes of memory. | ||
10 | |||
11 | Note: You will need module-init-tools v3.2 or later for this feature. | ||
12 | |||
13 | If unsure say Y. | ||
14 | |||
15 | config VIDEO_TUNER | ||
16 | tristate | ||
17 | default DVB_CORE || VIDEO_DEV | ||
18 | depends on DVB_CORE || VIDEO_DEV | ||
19 | select TUNER_XC2028 if !VIDEO_TUNER_CUSTOMIZE | ||
20 | select DVB_TUNER_XC5000 if !VIDEO_TUNER_CUSTOMIZE | ||
21 | select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE | ||
22 | select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE | ||
23 | select TUNER_TEA5761 if !VIDEO_TUNER_CUSTOMIZE | ||
24 | select TUNER_TEA5767 if !VIDEO_TUNER_CUSTOMIZE | ||
25 | select TUNER_SIMPLE if !VIDEO_TUNER_CUSTOMIZE | ||
26 | select TUNER_TDA9887 if !VIDEO_TUNER_CUSTOMIZE | ||
27 | |||
28 | menuconfig VIDEO_TUNER_CUSTOMIZE | ||
29 | bool "Customize analog and hybrid tuner modules to build" | ||
30 | depends on VIDEO_TUNER | ||
31 | help | ||
32 | This allows the user to deselect tuner drivers unnecessary | ||
33 | for their hardware from the build. Use this option with care | ||
34 | as deselecting tuner drivers which are in fact necessary will | ||
35 | result in V4L/DVB devices which cannot be tuned due to lack of | ||
36 | driver support | ||
37 | |||
38 | If unsure say N. | ||
39 | |||
40 | if VIDEO_TUNER_CUSTOMIZE | ||
41 | |||
42 | config TUNER_SIMPLE | ||
43 | tristate "Simple tuner support" | ||
44 | depends on I2C | ||
45 | select TUNER_TDA9887 | ||
46 | default m if VIDEO_TUNER_CUSTOMIZE | ||
47 | help | ||
48 | Say Y here to include support for various simple tuners. | ||
49 | |||
50 | config TUNER_TDA8290 | ||
51 | tristate "TDA 8290/8295 + 8275(a)/18271 tuner combo" | ||
52 | depends on I2C | ||
53 | select DVB_TDA827X | ||
54 | select DVB_TDA18271 | ||
55 | default m if VIDEO_TUNER_CUSTOMIZE | ||
56 | help | ||
57 | Say Y here to include support for Philips TDA8290+8275(a) tuner. | ||
58 | |||
59 | config DVB_TDA827X | ||
60 | tristate "Philips TDA827X silicon tuner" | ||
61 | depends on DVB_CORE && I2C | ||
62 | default m if DVB_FE_CUSTOMISE | ||
63 | help | ||
64 | A DVB-T silicon tuner module. Say Y when you want to support this tuner. | ||
65 | |||
66 | config DVB_TDA18271 | ||
67 | tristate "NXP TDA18271 silicon tuner" | ||
68 | depends on I2C | ||
69 | default m if DVB_FE_CUSTOMISE | ||
70 | help | ||
71 | A silicon tuner module. Say Y when you want to support this tuner. | ||
72 | |||
73 | config TUNER_TDA9887 | ||
74 | tristate "TDA 9885/6/7 analog IF demodulator" | ||
75 | depends on I2C | ||
76 | default m if VIDEO_TUNER_CUSTOMIZE | ||
77 | help | ||
78 | Say Y here to include support for Philips TDA9885/6/7 | ||
79 | analog IF demodulator. | ||
80 | |||
81 | config TUNER_TEA5761 | ||
82 | tristate "TEA 5761 radio tuner (EXPERIMENTAL)" | ||
83 | depends on I2C && EXPERIMENTAL | ||
84 | default m if VIDEO_TUNER_CUSTOMIZE | ||
85 | help | ||
86 | Say Y here to include support for the Philips TEA5761 radio tuner. | ||
87 | |||
88 | config TUNER_TEA5767 | ||
89 | tristate "TEA 5767 radio tuner" | ||
90 | depends on I2C | ||
91 | default m if VIDEO_TUNER_CUSTOMIZE | ||
92 | help | ||
93 | Say Y here to include support for the Philips TEA5767 radio tuner. | ||
94 | |||
95 | config TUNER_MT20XX | ||
96 | tristate "Microtune 2032 / 2050 tuners" | ||
97 | depends on I2C | ||
98 | default m if VIDEO_TUNER_CUSTOMIZE | ||
99 | help | ||
100 | Say Y here to include support for the MT2032 / MT2050 tuner. | ||
101 | |||
102 | config TUNER_XC2028 | ||
103 | tristate "XCeive xc2028/xc3028 tuners" | ||
104 | depends on I2C && FW_LOADER | ||
105 | default m if VIDEO_TUNER_CUSTOMIZE | ||
106 | help | ||
107 | Say Y here to include support for the xc2028/xc3028 tuners. | ||
108 | |||
109 | config DVB_TUNER_XC5000 | ||
110 | tristate "Xceive XC5000 silicon tuner" | ||
111 | depends on I2C | ||
112 | default m if DVB_FE_CUSTOMISE | ||
113 | help | ||
114 | A driver for the silicon tuner XC5000 from Xceive. | ||
115 | This device is only used inside a SiP called togther with a | ||
116 | demodulator for now. | ||
117 | |||
118 | endif # VIDEO_TUNER_CUSTOMIZE | ||
diff --git a/drivers/media/common/tuners/Makefile b/drivers/media/common/tuners/Makefile new file mode 100644 index 000000000000..685ae64fa3b8 --- /dev/null +++ b/drivers/media/common/tuners/Makefile | |||
@@ -0,0 +1,21 @@ | |||
1 | # | ||
2 | # Makefile for common V4L/DVB tuners | ||
3 | # | ||
4 | |||
5 | tda18271-objs := tda18271-maps.o tda18271-common.o tda18271-fe.o | ||
6 | |||
7 | obj-$(CONFIG_TUNER_XC2028) += tuner-xc2028.o | ||
8 | obj-$(CONFIG_TUNER_SIMPLE) += tuner-simple.o | ||
9 | # tuner-types will be merged into tuner-simple, in the future | ||
10 | obj-$(CONFIG_TUNER_SIMPLE) += tuner-types.o | ||
11 | obj-$(CONFIG_TUNER_MT20XX) += mt20xx.o | ||
12 | obj-$(CONFIG_TUNER_TDA8290) += tda8290.o | ||
13 | obj-$(CONFIG_TUNER_TEA5767) += tea5767.o | ||
14 | obj-$(CONFIG_TUNER_TEA5761) += tea5761.o | ||
15 | obj-$(CONFIG_TUNER_TDA9887) += tda9887.o | ||
16 | obj-$(CONFIG_DVB_TDA827X) += tda827x.o | ||
17 | obj-$(CONFIG_DVB_TDA18271) += tda18271.o | ||
18 | obj-$(CONFIG_DVB_TUNER_XC5000) += xc5000.o | ||
19 | |||
20 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | ||
21 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | ||
diff --git a/drivers/media/video/mt20xx.c b/drivers/media/common/tuners/mt20xx.c index fbcb28233737..fbcb28233737 100644 --- a/drivers/media/video/mt20xx.c +++ b/drivers/media/common/tuners/mt20xx.c | |||
diff --git a/drivers/media/video/mt20xx.h b/drivers/media/common/tuners/mt20xx.h index aa848e14ce5e..aa848e14ce5e 100644 --- a/drivers/media/video/mt20xx.h +++ b/drivers/media/common/tuners/mt20xx.h | |||
diff --git a/drivers/media/dvb/frontends/tda18271-common.c b/drivers/media/common/tuners/tda18271-common.c index e27a7620a32f..e27a7620a32f 100644 --- a/drivers/media/dvb/frontends/tda18271-common.c +++ b/drivers/media/common/tuners/tda18271-common.c | |||
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/common/tuners/tda18271-fe.c index b262100ae897..b262100ae897 100644 --- a/drivers/media/dvb/frontends/tda18271-fe.c +++ b/drivers/media/common/tuners/tda18271-fe.c | |||
diff --git a/drivers/media/dvb/frontends/tda18271-tables.c b/drivers/media/common/tuners/tda18271-maps.c index 83e7561960c1..83e7561960c1 100644 --- a/drivers/media/dvb/frontends/tda18271-tables.c +++ b/drivers/media/common/tuners/tda18271-maps.c | |||
diff --git a/drivers/media/dvb/frontends/tda18271-priv.h b/drivers/media/common/tuners/tda18271-priv.h index 2bc5eb368ea2..2bc5eb368ea2 100644 --- a/drivers/media/dvb/frontends/tda18271-priv.h +++ b/drivers/media/common/tuners/tda18271-priv.h | |||
diff --git a/drivers/media/dvb/frontends/tda18271.h b/drivers/media/common/tuners/tda18271.h index 0e7af8d05a38..0e7af8d05a38 100644 --- a/drivers/media/dvb/frontends/tda18271.h +++ b/drivers/media/common/tuners/tda18271.h | |||
diff --git a/drivers/media/dvb/frontends/tda827x.c b/drivers/media/common/tuners/tda827x.c index d30d2c9094d9..d30d2c9094d9 100644 --- a/drivers/media/dvb/frontends/tda827x.c +++ b/drivers/media/common/tuners/tda827x.c | |||
diff --git a/drivers/media/dvb/frontends/tda827x.h b/drivers/media/common/tuners/tda827x.h index b73c23570dab..b73c23570dab 100644 --- a/drivers/media/dvb/frontends/tda827x.h +++ b/drivers/media/common/tuners/tda827x.h | |||
diff --git a/drivers/media/video/tda8290.c b/drivers/media/common/tuners/tda8290.c index 0ebb5b525e57..0ebb5b525e57 100644 --- a/drivers/media/video/tda8290.c +++ b/drivers/media/common/tuners/tda8290.c | |||
diff --git a/drivers/media/video/tda8290.h b/drivers/media/common/tuners/tda8290.h index d3bbf276a469..d3bbf276a469 100644 --- a/drivers/media/video/tda8290.h +++ b/drivers/media/common/tuners/tda8290.h | |||
diff --git a/drivers/media/video/tda9887.c b/drivers/media/common/tuners/tda9887.c index a0545ba957b0..a0545ba957b0 100644 --- a/drivers/media/video/tda9887.c +++ b/drivers/media/common/tuners/tda9887.c | |||
diff --git a/drivers/media/video/tda9887.h b/drivers/media/common/tuners/tda9887.h index be49dcbfc70e..be49dcbfc70e 100644 --- a/drivers/media/video/tda9887.h +++ b/drivers/media/common/tuners/tda9887.h | |||
diff --git a/drivers/media/video/tea5761.c b/drivers/media/common/tuners/tea5761.c index b93cdef9ac73..b93cdef9ac73 100644 --- a/drivers/media/video/tea5761.c +++ b/drivers/media/common/tuners/tea5761.c | |||
diff --git a/drivers/media/video/tea5761.h b/drivers/media/common/tuners/tea5761.h index 8eb62722b988..8eb62722b988 100644 --- a/drivers/media/video/tea5761.h +++ b/drivers/media/common/tuners/tea5761.h | |||
diff --git a/drivers/media/video/tea5767.c b/drivers/media/common/tuners/tea5767.c index f6e7d7ad8424..f6e7d7ad8424 100644 --- a/drivers/media/video/tea5767.c +++ b/drivers/media/common/tuners/tea5767.c | |||
diff --git a/drivers/media/video/tea5767.h b/drivers/media/common/tuners/tea5767.h index 7b547c092e25..7b547c092e25 100644 --- a/drivers/media/video/tea5767.h +++ b/drivers/media/common/tuners/tea5767.h | |||
diff --git a/drivers/media/video/tuner-i2c.h b/drivers/media/common/tuners/tuner-i2c.h index 3ad6c8e0b04c..3ad6c8e0b04c 100644 --- a/drivers/media/video/tuner-i2c.h +++ b/drivers/media/common/tuners/tuner-i2c.h | |||
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/common/tuners/tuner-simple.c index be8d903171b7..be8d903171b7 100644 --- a/drivers/media/video/tuner-simple.c +++ b/drivers/media/common/tuners/tuner-simple.c | |||
diff --git a/drivers/media/video/tuner-simple.h b/drivers/media/common/tuners/tuner-simple.h index e46cf0121e03..e46cf0121e03 100644 --- a/drivers/media/video/tuner-simple.h +++ b/drivers/media/common/tuners/tuner-simple.h | |||
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/common/tuners/tuner-types.c index 10dddca8b5d1..10dddca8b5d1 100644 --- a/drivers/media/video/tuner-types.c +++ b/drivers/media/common/tuners/tuner-types.c | |||
diff --git a/drivers/media/video/tuner-xc2028-types.h b/drivers/media/common/tuners/tuner-xc2028-types.h index 74dc46a71f64..74dc46a71f64 100644 --- a/drivers/media/video/tuner-xc2028-types.h +++ b/drivers/media/common/tuners/tuner-xc2028-types.h | |||
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/common/tuners/tuner-xc2028.c index 9e9003cffc7f..9e9003cffc7f 100644 --- a/drivers/media/video/tuner-xc2028.c +++ b/drivers/media/common/tuners/tuner-xc2028.c | |||
diff --git a/drivers/media/video/tuner-xc2028.h b/drivers/media/common/tuners/tuner-xc2028.h index fc2f132a5541..fc2f132a5541 100644 --- a/drivers/media/video/tuner-xc2028.h +++ b/drivers/media/common/tuners/tuner-xc2028.h | |||
diff --git a/drivers/media/dvb/frontends/xc5000.c b/drivers/media/common/tuners/xc5000.c index 43d35bdb221f..43d35bdb221f 100644 --- a/drivers/media/dvb/frontends/xc5000.c +++ b/drivers/media/common/tuners/xc5000.c | |||
diff --git a/drivers/media/dvb/frontends/xc5000.h b/drivers/media/common/tuners/xc5000.h index b890883a0cdc..b890883a0cdc 100644 --- a/drivers/media/dvb/frontends/xc5000.h +++ b/drivers/media/common/tuners/xc5000.h | |||
diff --git a/drivers/media/dvb/frontends/xc5000_priv.h b/drivers/media/common/tuners/xc5000_priv.h index 13b2d19341da..13b2d19341da 100644 --- a/drivers/media/dvb/frontends/xc5000_priv.h +++ b/drivers/media/common/tuners/xc5000_priv.h | |||
diff --git a/drivers/media/dvb/Kconfig b/drivers/media/dvb/Kconfig index 03ef88acd9b8..7b21b49f1945 100644 --- a/drivers/media/dvb/Kconfig +++ b/drivers/media/dvb/Kconfig | |||
@@ -1,9 +1,7 @@ | |||
1 | # | 1 | # |
2 | # Multimedia device configuration | 2 | # DVB device configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | source "drivers/media/dvb/dvb-core/Kconfig" | ||
6 | |||
7 | menuconfig DVB_CAPTURE_DRIVERS | 5 | menuconfig DVB_CAPTURE_DRIVERS |
8 | bool "DVB/ATSC adapters" | 6 | bool "DVB/ATSC adapters" |
9 | depends on DVB_CORE | 7 | depends on DVB_CORE |
diff --git a/drivers/media/dvb/b2c2/Makefile b/drivers/media/dvb/b2c2/Makefile index 870e2848c296..d9db066f9854 100644 --- a/drivers/media/dvb/b2c2/Makefile +++ b/drivers/media/dvb/b2c2/Makefile | |||
@@ -14,4 +14,4 @@ b2c2-flexcop-usb-objs = flexcop-usb.o | |||
14 | obj-$(CONFIG_DVB_B2C2_FLEXCOP_USB) += b2c2-flexcop-usb.o | 14 | obj-$(CONFIG_DVB_B2C2_FLEXCOP_USB) += b2c2-flexcop-usb.o |
15 | 15 | ||
16 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends/ | 16 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends/ |
17 | EXTRA_CFLAGS += -Idrivers/media/video/ | 17 | EXTRA_CFLAGS += -Idrivers/media/common/tuners/ |
diff --git a/drivers/media/dvb/bt8xx/Makefile b/drivers/media/dvb/bt8xx/Makefile index 9d3e68b5d6eb..d98f1d49ffa8 100644 --- a/drivers/media/dvb/bt8xx/Makefile +++ b/drivers/media/dvb/bt8xx/Makefile | |||
@@ -3,4 +3,4 @@ obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-bt8xx.o dst.o dst_ca.o | |||
3 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 3 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
4 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | 4 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends |
5 | EXTRA_CFLAGS += -Idrivers/media/video/bt8xx | 5 | EXTRA_CFLAGS += -Idrivers/media/video/bt8xx |
6 | EXTRA_CFLAGS += -Idrivers/media/video | 6 | EXTRA_CFLAGS += -Idrivers/media/common/tuners |
diff --git a/drivers/media/dvb/dvb-core/Kconfig b/drivers/media/dvb/dvb-core/Kconfig deleted file mode 100644 index e3e6839f8073..000000000000 --- a/drivers/media/dvb/dvb-core/Kconfig +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | config DVB_CORE | ||
2 | tristate "DVB for Linux" | ||
3 | depends on NET && INET | ||
4 | select CRC32 | ||
5 | help | ||
6 | Support Digital Video Broadcasting hardware. Enable this if you | ||
7 | own a DVB adapter and want to use it or if you compile Linux for | ||
8 | a digital SetTopBox. | ||
9 | |||
10 | DVB core utility functions for device handling, software fallbacks etc. | ||
11 | Say Y when you have a DVB card and want to use it. Say Y if your want | ||
12 | to build your drivers outside the kernel, but need the DVB core. All | ||
13 | in-kernel drivers will select this automatically if needed. | ||
14 | |||
15 | API specs and user tools are available from <http://www.linuxtv.org/>. | ||
16 | |||
17 | Please report problems regarding this driver to the LinuxDVB | ||
18 | mailing list. | ||
19 | |||
20 | If unsure say N. | ||
21 | |||
22 | config DVB_CORE_ATTACH | ||
23 | bool "Load and attach frontend modules as needed" | ||
24 | depends on DVB_CORE | ||
25 | depends on MODULES | ||
26 | help | ||
27 | Remove the static dependency of DVB card drivers on all | ||
28 | frontend modules for all possible card variants. Instead, | ||
29 | allow the card drivers to only load the frontend modules | ||
30 | they require. This saves several KBytes of memory. | ||
31 | |||
32 | Note: You will need module-init-tools v3.2 or later for this feature. | ||
33 | |||
34 | If unsure say Y. | ||
diff --git a/drivers/media/dvb/dvb-usb/Makefile b/drivers/media/dvb/dvb-usb/Makefile index 60a910052c16..c6511a6c0ab8 100644 --- a/drivers/media/dvb/dvb-usb/Makefile +++ b/drivers/media/dvb/dvb-usb/Makefile | |||
@@ -63,5 +63,5 @@ obj-$(CONFIG_DVB_USB_AF9005_REMOTE) += dvb-usb-af9005-remote.o | |||
63 | 63 | ||
64 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends/ | 64 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends/ |
65 | # due to tuner-xc3028 | 65 | # due to tuner-xc3028 |
66 | EXTRA_CFLAGS += -Idrivers/media/video | 66 | EXTRA_CFLAGS += -Idrivers/media/common/tuners |
67 | 67 | ||
diff --git a/drivers/media/dvb/frontends/Kconfig b/drivers/media/dvb/frontends/Kconfig index f5fceb3cdb3c..75e7d20b2984 100644 --- a/drivers/media/dvb/frontends/Kconfig +++ b/drivers/media/dvb/frontends/Kconfig | |||
@@ -333,20 +333,6 @@ config DVB_TDA826X | |||
333 | help | 333 | help |
334 | A DVB-S silicon tuner module. Say Y when you want to support this tuner. | 334 | A DVB-S silicon tuner module. Say Y when you want to support this tuner. |
335 | 335 | ||
336 | config DVB_TDA827X | ||
337 | tristate "Philips TDA827X silicon tuner" | ||
338 | depends on DVB_CORE && I2C | ||
339 | default m if DVB_FE_CUSTOMISE | ||
340 | help | ||
341 | A DVB-T silicon tuner module. Say Y when you want to support this tuner. | ||
342 | |||
343 | config DVB_TDA18271 | ||
344 | tristate "NXP TDA18271 silicon tuner" | ||
345 | depends on I2C | ||
346 | default m if DVB_FE_CUSTOMISE | ||
347 | help | ||
348 | A silicon tuner module. Say Y when you want to support this tuner. | ||
349 | |||
350 | config DVB_TUNER_QT1010 | 336 | config DVB_TUNER_QT1010 |
351 | tristate "Quantek QT1010 silicon tuner" | 337 | tristate "Quantek QT1010 silicon tuner" |
352 | depends on DVB_CORE && I2C | 338 | depends on DVB_CORE && I2C |
@@ -384,15 +370,6 @@ config DVB_TUNER_DIB0070 | |||
384 | This device is only used inside a SiP called togther with a | 370 | This device is only used inside a SiP called togther with a |
385 | demodulator for now. | 371 | demodulator for now. |
386 | 372 | ||
387 | config DVB_TUNER_XC5000 | ||
388 | tristate "Xceive XC5000 silicon tuner" | ||
389 | depends on I2C | ||
390 | default m if DVB_FE_CUSTOMISE | ||
391 | help | ||
392 | A driver for the silicon tuner XC5000 from Xceive. | ||
393 | This device is only used inside a SiP called togther with a | ||
394 | demodulator for now. | ||
395 | |||
396 | config DVB_TUNER_ITD1000 | 373 | config DVB_TUNER_ITD1000 |
397 | tristate "Integrant ITD1000 Zero IF tuner for DVB-S/DSS" | 374 | tristate "Integrant ITD1000 Zero IF tuner for DVB-S/DSS" |
398 | depends on DVB_CORE && I2C | 375 | depends on DVB_CORE && I2C |
diff --git a/drivers/media/dvb/frontends/Makefile b/drivers/media/dvb/frontends/Makefile index 9747c73dc826..9b4438a13d0b 100644 --- a/drivers/media/dvb/frontends/Makefile +++ b/drivers/media/dvb/frontends/Makefile | |||
@@ -3,9 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ | 5 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ |
6 | EXTRA_CFLAGS += -Idrivers/media/video/ | 6 | EXTRA_CFLAGS += -Idrivers/media/common/tuners/ |
7 | |||
8 | tda18271-objs := tda18271-tables.o tda18271-common.o tda18271-fe.o | ||
9 | 7 | ||
10 | obj-$(CONFIG_DVB_PLL) += dvb-pll.o | 8 | obj-$(CONFIG_DVB_PLL) += dvb-pll.o |
11 | obj-$(CONFIG_DVB_STV0299) += stv0299.o | 9 | obj-$(CONFIG_DVB_STV0299) += stv0299.o |
@@ -42,8 +40,6 @@ obj-$(CONFIG_DVB_ISL6405) += isl6405.o | |||
42 | obj-$(CONFIG_DVB_ISL6421) += isl6421.o | 40 | obj-$(CONFIG_DVB_ISL6421) += isl6421.o |
43 | obj-$(CONFIG_DVB_TDA10086) += tda10086.o | 41 | obj-$(CONFIG_DVB_TDA10086) += tda10086.o |
44 | obj-$(CONFIG_DVB_TDA826X) += tda826x.o | 42 | obj-$(CONFIG_DVB_TDA826X) += tda826x.o |
45 | obj-$(CONFIG_DVB_TDA827X) += tda827x.o | ||
46 | obj-$(CONFIG_DVB_TDA18271) += tda18271.o | ||
47 | obj-$(CONFIG_DVB_TUNER_MT2060) += mt2060.o | 43 | obj-$(CONFIG_DVB_TUNER_MT2060) += mt2060.o |
48 | obj-$(CONFIG_DVB_TUNER_MT2266) += mt2266.o | 44 | obj-$(CONFIG_DVB_TUNER_MT2266) += mt2266.o |
49 | obj-$(CONFIG_DVB_TUNER_DIB0070) += dib0070.o | 45 | obj-$(CONFIG_DVB_TUNER_DIB0070) += dib0070.o |
@@ -51,7 +47,6 @@ obj-$(CONFIG_DVB_TUNER_QT1010) += qt1010.o | |||
51 | obj-$(CONFIG_DVB_TUA6100) += tua6100.o | 47 | obj-$(CONFIG_DVB_TUA6100) += tua6100.o |
52 | obj-$(CONFIG_DVB_TUNER_MT2131) += mt2131.o | 48 | obj-$(CONFIG_DVB_TUNER_MT2131) += mt2131.o |
53 | obj-$(CONFIG_DVB_S5H1409) += s5h1409.o | 49 | obj-$(CONFIG_DVB_S5H1409) += s5h1409.o |
54 | obj-$(CONFIG_DVB_TUNER_XC5000) += xc5000.o | ||
55 | obj-$(CONFIG_DVB_TUNER_ITD1000) += itd1000.o | 50 | obj-$(CONFIG_DVB_TUNER_ITD1000) += itd1000.o |
56 | obj-$(CONFIG_DVB_AU8522) += au8522.o | 51 | obj-$(CONFIG_DVB_AU8522) += au8522.o |
57 | obj-$(CONFIG_DVB_TDA10048) += tda10048.o | 52 | obj-$(CONFIG_DVB_TDA10048) += tda10048.o |
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index fe9a4cc14141..e99bfcf28112 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -1,4 +1,50 @@ | |||
1 | # | 1 | # |
2 | # Generic video config states | ||
3 | # | ||
4 | |||
5 | config VIDEO_V4L2 | ||
6 | tristate | ||
7 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON | ||
8 | default VIDEO_DEV && VIDEO_V4L2_COMMON | ||
9 | |||
10 | config VIDEO_V4L1 | ||
11 | tristate | ||
12 | depends on VIDEO_DEV && VIDEO_V4L2_COMMON && VIDEO_ALLOW_V4L1 | ||
13 | default VIDEO_DEV && VIDEO_V4L2_COMMON && VIDEO_ALLOW_V4L1 | ||
14 | |||
15 | config VIDEOBUF_GEN | ||
16 | tristate | ||
17 | |||
18 | config VIDEOBUF_DMA_SG | ||
19 | depends on HAS_DMA | ||
20 | select VIDEOBUF_GEN | ||
21 | tristate | ||
22 | |||
23 | config VIDEOBUF_VMALLOC | ||
24 | select VIDEOBUF_GEN | ||
25 | tristate | ||
26 | |||
27 | config VIDEOBUF_DVB | ||
28 | tristate | ||
29 | select VIDEOBUF_GEN | ||
30 | select VIDEOBUF_DMA_SG | ||
31 | |||
32 | config VIDEO_BTCX | ||
33 | tristate | ||
34 | |||
35 | config VIDEO_IR_I2C | ||
36 | tristate | ||
37 | |||
38 | config VIDEO_IR | ||
39 | tristate | ||
40 | depends on INPUT | ||
41 | select VIDEO_IR_I2C if I2C | ||
42 | |||
43 | config VIDEO_TVEEPROM | ||
44 | tristate | ||
45 | depends on I2C | ||
46 | |||
47 | # | ||
2 | # Multimedia Video device configuration | 48 | # Multimedia Video device configuration |
3 | # | 49 | # |
4 | 50 | ||
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile index be14227f3726..73f87aede074 100644 --- a/drivers/media/video/Makefile +++ b/drivers/media/video/Makefile | |||
@@ -86,16 +86,6 @@ obj-$(CONFIG_TUNER_3036) += tuner-3036.o | |||
86 | 86 | ||
87 | obj-$(CONFIG_VIDEO_TUNER) += tuner.o | 87 | obj-$(CONFIG_VIDEO_TUNER) += tuner.o |
88 | 88 | ||
89 | obj-$(CONFIG_TUNER_XC2028) += tuner-xc2028.o | ||
90 | obj-$(CONFIG_TUNER_SIMPLE) += tuner-simple.o | ||
91 | # tuner-types will be merged into tuner-simple, in the future | ||
92 | obj-$(CONFIG_TUNER_SIMPLE) += tuner-types.o | ||
93 | obj-$(CONFIG_TUNER_MT20XX) += mt20xx.o | ||
94 | obj-$(CONFIG_TUNER_TDA8290) += tda8290.o | ||
95 | obj-$(CONFIG_TUNER_TEA5767) += tea5767.o | ||
96 | obj-$(CONFIG_TUNER_TEA5761) += tea5761.o | ||
97 | obj-$(CONFIG_TUNER_TDA9887) += tda9887.o | ||
98 | |||
99 | obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o | 89 | obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o |
100 | obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o | 90 | obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o |
101 | obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o | 91 | obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o |
@@ -147,3 +137,4 @@ obj-$(CONFIG_VIDEO_AU0828) += au0828/ | |||
147 | 137 | ||
148 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 138 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
149 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | 139 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends |
140 | EXTRA_CFLAGS += -Idrivers/media/common/tuners | ||
diff --git a/drivers/media/video/au0828/Makefile b/drivers/media/video/au0828/Makefile index 9f4f572c89c5..cd2c58281b4e 100644 --- a/drivers/media/video/au0828/Makefile +++ b/drivers/media/video/au0828/Makefile | |||
@@ -2,7 +2,7 @@ au0828-objs := au0828-core.o au0828-i2c.o au0828-cards.o au0828-dvb.o | |||
2 | 2 | ||
3 | obj-$(CONFIG_VIDEO_AU0828) += au0828.o | 3 | obj-$(CONFIG_VIDEO_AU0828) += au0828.o |
4 | 4 | ||
5 | EXTRA_CFLAGS += -Idrivers/media/video | 5 | EXTRA_CFLAGS += -Idrivers/media/common/tuners |
6 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 6 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
7 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | 7 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends |
8 | 8 | ||
diff --git a/drivers/media/video/bt8xx/Makefile b/drivers/media/video/bt8xx/Makefile index 924d216d9570..e415f6fc447c 100644 --- a/drivers/media/video/bt8xx/Makefile +++ b/drivers/media/video/bt8xx/Makefile | |||
@@ -9,4 +9,5 @@ bttv-objs := bttv-driver.o bttv-cards.o bttv-if.o \ | |||
9 | obj-$(CONFIG_VIDEO_BT848) += bttv.o | 9 | obj-$(CONFIG_VIDEO_BT848) += bttv.o |
10 | 10 | ||
11 | EXTRA_CFLAGS += -Idrivers/media/video | 11 | EXTRA_CFLAGS += -Idrivers/media/video |
12 | EXTRA_CFLAGS += -Idrivers/media/common/tuners | ||
12 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 13 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
diff --git a/drivers/media/video/cx23885/Makefile b/drivers/media/video/cx23885/Makefile index d7b0721af062..29c23b44c13c 100644 --- a/drivers/media/video/cx23885/Makefile +++ b/drivers/media/video/cx23885/Makefile | |||
@@ -3,6 +3,7 @@ cx23885-objs := cx23885-cards.o cx23885-video.o cx23885-vbi.o cx23885-core.o cx2 | |||
3 | obj-$(CONFIG_VIDEO_CX23885) += cx23885.o | 3 | obj-$(CONFIG_VIDEO_CX23885) += cx23885.o |
4 | 4 | ||
5 | EXTRA_CFLAGS += -Idrivers/media/video | 5 | EXTRA_CFLAGS += -Idrivers/media/video |
6 | EXTRA_CFLAGS += -Idrivers/media/common/tuners | ||
6 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 7 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
7 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | 8 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends |
8 | 9 | ||
diff --git a/drivers/media/video/cx88/Makefile b/drivers/media/video/cx88/Makefile index 532cee35eb3c..6ec30f242578 100644 --- a/drivers/media/video/cx88/Makefile +++ b/drivers/media/video/cx88/Makefile | |||
@@ -10,5 +10,6 @@ obj-$(CONFIG_VIDEO_CX88_DVB) += cx88-dvb.o | |||
10 | obj-$(CONFIG_VIDEO_CX88_VP3054) += cx88-vp3054-i2c.o | 10 | obj-$(CONFIG_VIDEO_CX88_VP3054) += cx88-vp3054-i2c.o |
11 | 11 | ||
12 | EXTRA_CFLAGS += -Idrivers/media/video | 12 | EXTRA_CFLAGS += -Idrivers/media/video |
13 | EXTRA_CFLAGS += -Idrivers/media/common/tuners | ||
13 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 14 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
14 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | 15 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends |
diff --git a/drivers/media/video/em28xx/Makefile b/drivers/media/video/em28xx/Makefile index 3d1c3cc337fe..8137a8c94bfc 100644 --- a/drivers/media/video/em28xx/Makefile +++ b/drivers/media/video/em28xx/Makefile | |||
@@ -8,6 +8,7 @@ obj-$(CONFIG_VIDEO_EM28XX_ALSA) += em28xx-alsa.o | |||
8 | obj-$(CONFIG_VIDEO_EM28XX_DVB) += em28xx-dvb.o | 8 | obj-$(CONFIG_VIDEO_EM28XX_DVB) += em28xx-dvb.o |
9 | 9 | ||
10 | EXTRA_CFLAGS += -Idrivers/media/video | 10 | EXTRA_CFLAGS += -Idrivers/media/video |
11 | EXTRA_CFLAGS += -Idrivers/media/common/tuners | ||
11 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 12 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
12 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | 13 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends |
13 | 14 | ||
diff --git a/drivers/media/video/ivtv/Makefile b/drivers/media/video/ivtv/Makefile index a0389014fa88..26ce0d6eaee1 100644 --- a/drivers/media/video/ivtv/Makefile +++ b/drivers/media/video/ivtv/Makefile | |||
@@ -8,6 +8,7 @@ obj-$(CONFIG_VIDEO_IVTV) += ivtv.o | |||
8 | obj-$(CONFIG_VIDEO_FB_IVTV) += ivtvfb.o | 8 | obj-$(CONFIG_VIDEO_FB_IVTV) += ivtvfb.o |
9 | 9 | ||
10 | EXTRA_CFLAGS += -Idrivers/media/video | 10 | EXTRA_CFLAGS += -Idrivers/media/video |
11 | EXTRA_CFLAGS += -Idrivers/media/common/tuners | ||
11 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 12 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
12 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | 13 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends |
13 | 14 | ||
diff --git a/drivers/media/video/pvrusb2/Makefile b/drivers/media/video/pvrusb2/Makefile index 5b3083c89aa9..4fda2de69ab7 100644 --- a/drivers/media/video/pvrusb2/Makefile +++ b/drivers/media/video/pvrusb2/Makefile | |||
@@ -16,5 +16,6 @@ pvrusb2-objs := pvrusb2-i2c-core.o pvrusb2-i2c-cmd-v4l2.o \ | |||
16 | obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2.o | 16 | obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2.o |
17 | 17 | ||
18 | EXTRA_CFLAGS += -Idrivers/media/video | 18 | EXTRA_CFLAGS += -Idrivers/media/video |
19 | EXTRA_CFLAGS += -Idrivers/media/common/tuners | ||
19 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 20 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
20 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | 21 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends |
diff --git a/drivers/media/video/saa7134/Makefile b/drivers/media/video/saa7134/Makefile index 9aff937ba7a5..3dbaa19a6d00 100644 --- a/drivers/media/video/saa7134/Makefile +++ b/drivers/media/video/saa7134/Makefile | |||
@@ -11,5 +11,6 @@ obj-$(CONFIG_VIDEO_SAA7134_ALSA) += saa7134-alsa.o | |||
11 | obj-$(CONFIG_VIDEO_SAA7134_DVB) += saa7134-dvb.o | 11 | obj-$(CONFIG_VIDEO_SAA7134_DVB) += saa7134-dvb.o |
12 | 12 | ||
13 | EXTRA_CFLAGS += -Idrivers/media/video | 13 | EXTRA_CFLAGS += -Idrivers/media/video |
14 | EXTRA_CFLAGS += -Idrivers/media/common/tuners | ||
14 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core | 15 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |
15 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends | 16 | EXTRA_CFLAGS += -Idrivers/media/dvb/frontends |
diff --git a/drivers/media/video/usbvision/Makefile b/drivers/media/video/usbvision/Makefile index 9ac92a80c645..338718750945 100644 --- a/drivers/media/video/usbvision/Makefile +++ b/drivers/media/video/usbvision/Makefile | |||
@@ -3,3 +3,4 @@ usbvision-objs := usbvision-core.o usbvision-video.o usbvision-i2c.o usbvision- | |||
3 | obj-$(CONFIG_VIDEO_USBVISION) += usbvision.o | 3 | obj-$(CONFIG_VIDEO_USBVISION) += usbvision.o |
4 | 4 | ||
5 | EXTRA_CFLAGS += -Idrivers/media/video | 5 | EXTRA_CFLAGS += -Idrivers/media/video |
6 | EXTRA_CFLAGS += -Idrivers/media/common/tuners | ||