diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/IR/Kconfig | 2 | ||||
-rw-r--r-- | drivers/media/IR/Makefile | 2 | ||||
-rw-r--r-- | drivers/media/IR/ir-functions.c | 19 | ||||
-rw-r--r-- | drivers/media/dvb/dm1105/Kconfig | 3 | ||||
-rw-r--r-- | drivers/media/dvb/ttpci/Kconfig | 3 | ||||
-rw-r--r-- | drivers/media/video/Kconfig | 2 | ||||
-rw-r--r-- | drivers/media/video/bt8xx/Kconfig | 4 | ||||
-rw-r--r-- | drivers/media/video/cx18/Kconfig | 3 | ||||
-rw-r--r-- | drivers/media/video/cx231xx/Kconfig | 4 | ||||
-rw-r--r-- | drivers/media/video/cx88/Kconfig | 3 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-input.c | 1 | ||||
-rw-r--r-- | drivers/media/video/em28xx/Kconfig | 4 | ||||
-rw-r--r-- | drivers/media/video/ivtv/Kconfig | 3 | ||||
-rw-r--r-- | drivers/media/video/saa7134/Kconfig | 2 | ||||
-rw-r--r-- | drivers/media/video/tlg2300/Kconfig | 4 | ||||
-rw-r--r-- | drivers/staging/cx25821/Kconfig | 4 | ||||
-rw-r--r-- | drivers/staging/go7007/Kconfig | 4 |
17 files changed, 21 insertions, 46 deletions
diff --git a/drivers/media/IR/Kconfig b/drivers/media/IR/Kconfig index aa4163eb7a83..20e02a0a5e48 100644 --- a/drivers/media/IR/Kconfig +++ b/drivers/media/IR/Kconfig | |||
@@ -10,7 +10,7 @@ menuconfig IR_CORE | |||
10 | if you don't need IR, as otherwise, you may not be able to | 10 | if you don't need IR, as otherwise, you may not be able to |
11 | compile the driver for your adapter. | 11 | compile the driver for your adapter. |
12 | 12 | ||
13 | config VIDEO_IR | 13 | config IR_LEGACY |
14 | tristate | 14 | tristate |
15 | depends on IR_CORE | 15 | depends on IR_CORE |
16 | default IR_CORE | 16 | default IR_CORE |
diff --git a/drivers/media/IR/Makefile b/drivers/media/IR/Makefile index f9574adab82a..38873cff3429 100644 --- a/drivers/media/IR/Makefile +++ b/drivers/media/IR/Makefile | |||
@@ -4,7 +4,7 @@ ir-core-objs := ir-keytable.o ir-sysfs.o ir-raw-event.o rc-map.o | |||
4 | obj-y += keymaps/ | 4 | obj-y += keymaps/ |
5 | 5 | ||
6 | obj-$(CONFIG_IR_CORE) += ir-core.o | 6 | obj-$(CONFIG_IR_CORE) += ir-core.o |
7 | obj-$(CONFIG_VIDEO_IR) += ir-common.o | 7 | obj-$(CONFIG_IR_LEGACY) += ir-common.o |
8 | obj-$(CONFIG_LIRC) += lirc_dev.o | 8 | obj-$(CONFIG_LIRC) += lirc_dev.o |
9 | obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o | 9 | obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o |
10 | obj-$(CONFIG_IR_RC5_DECODER) += ir-rc5-decoder.o | 10 | obj-$(CONFIG_IR_RC5_DECODER) += ir-rc5-decoder.o |
diff --git a/drivers/media/IR/ir-functions.c b/drivers/media/IR/ir-functions.c index fca734c43e8d..ec021c92527a 100644 --- a/drivers/media/IR/ir-functions.c +++ b/drivers/media/IR/ir-functions.c | |||
@@ -31,25 +31,6 @@ | |||
31 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); | 31 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"); |
32 | MODULE_LICENSE("GPL"); | 32 | MODULE_LICENSE("GPL"); |
33 | 33 | ||
34 | /* -------------------------------------------------------------------------- */ | ||
35 | /* extract mask bits out of data and pack them into the result */ | ||
36 | u32 ir_extract_bits(u32 data, u32 mask) | ||
37 | { | ||
38 | u32 vbit = 1, value = 0; | ||
39 | |||
40 | do { | ||
41 | if (mask&1) { | ||
42 | if (data&1) | ||
43 | value |= vbit; | ||
44 | vbit<<=1; | ||
45 | } | ||
46 | data>>=1; | ||
47 | } while (mask>>=1); | ||
48 | |||
49 | return value; | ||
50 | } | ||
51 | EXPORT_SYMBOL_GPL(ir_extract_bits); | ||
52 | |||
53 | /* RC5 decoding stuff, moved from bttv-input.c to share it with | 34 | /* RC5 decoding stuff, moved from bttv-input.c to share it with |
54 | * saa7134 */ | 35 | * saa7134 */ |
55 | 36 | ||
diff --git a/drivers/media/dvb/dm1105/Kconfig b/drivers/media/dvb/dm1105/Kconfig index a6ceb08f1183..576f3b70d792 100644 --- a/drivers/media/dvb/dm1105/Kconfig +++ b/drivers/media/dvb/dm1105/Kconfig | |||
@@ -1,7 +1,6 @@ | |||
1 | config DVB_DM1105 | 1 | config DVB_DM1105 |
2 | tristate "SDMC DM1105 based PCI cards" | 2 | tristate "SDMC DM1105 based PCI cards" |
3 | depends on DVB_CORE && PCI && I2C | 3 | depends on DVB_CORE && PCI && I2C |
4 | depends on INPUT | ||
5 | select DVB_PLL if !DVB_FE_CUSTOMISE | 4 | select DVB_PLL if !DVB_FE_CUSTOMISE |
6 | select DVB_STV0299 if !DVB_FE_CUSTOMISE | 5 | select DVB_STV0299 if !DVB_FE_CUSTOMISE |
7 | select DVB_STV0288 if !DVB_FE_CUSTOMISE | 6 | select DVB_STV0288 if !DVB_FE_CUSTOMISE |
@@ -9,7 +8,7 @@ config DVB_DM1105 | |||
9 | select DVB_CX24116 if !DVB_FE_CUSTOMISE | 8 | select DVB_CX24116 if !DVB_FE_CUSTOMISE |
10 | select DVB_SI21XX if !DVB_FE_CUSTOMISE | 9 | select DVB_SI21XX if !DVB_FE_CUSTOMISE |
11 | select DVB_DS3000 if !DVB_FE_CUSTOMISE | 10 | select DVB_DS3000 if !DVB_FE_CUSTOMISE |
12 | depends on VIDEO_IR | 11 | depends on IR_CORE |
13 | help | 12 | help |
14 | Support for cards based on the SDMC DM1105 PCI chip like | 13 | Support for cards based on the SDMC DM1105 PCI chip like |
15 | DvbWorld 2002 | 14 | DvbWorld 2002 |
diff --git a/drivers/media/dvb/ttpci/Kconfig b/drivers/media/dvb/ttpci/Kconfig index debea8d1d31c..0ffd6943da83 100644 --- a/drivers/media/dvb/ttpci/Kconfig +++ b/drivers/media/dvb/ttpci/Kconfig | |||
@@ -89,7 +89,6 @@ config DVB_BUDGET | |||
89 | config DVB_BUDGET_CI | 89 | config DVB_BUDGET_CI |
90 | tristate "Budget cards with onboard CI connector" | 90 | tristate "Budget cards with onboard CI connector" |
91 | depends on DVB_BUDGET_CORE && I2C | 91 | depends on DVB_BUDGET_CORE && I2C |
92 | depends on INPUT # due to IR | ||
93 | select DVB_STV0297 if !DVB_FE_CUSTOMISE | 92 | select DVB_STV0297 if !DVB_FE_CUSTOMISE |
94 | select DVB_STV0299 if !DVB_FE_CUSTOMISE | 93 | select DVB_STV0299 if !DVB_FE_CUSTOMISE |
95 | select DVB_TDA1004X if !DVB_FE_CUSTOMISE | 94 | select DVB_TDA1004X if !DVB_FE_CUSTOMISE |
@@ -98,7 +97,7 @@ config DVB_BUDGET_CI | |||
98 | select DVB_LNBP21 if !DVB_FE_CUSTOMISE | 97 | select DVB_LNBP21 if !DVB_FE_CUSTOMISE |
99 | select DVB_TDA10023 if !DVB_FE_CUSTOMISE | 98 | select DVB_TDA10023 if !DVB_FE_CUSTOMISE |
100 | select MEDIA_TUNER_TDA827X if !MEDIA_TUNER_CUSTOMISE | 99 | select MEDIA_TUNER_TDA827X if !MEDIA_TUNER_CUSTOMISE |
101 | depends on VIDEO_IR | 100 | depends on IR_CORE |
102 | help | 101 | help |
103 | Support for simple SAA7146 based DVB cards | 102 | Support for simple SAA7146 based DVB cards |
104 | (so called Budget- or Nova-PCI cards) without onboard | 103 | (so called Budget- or Nova-PCI cards) without onboard |
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 6830d2848bd7..22feac4d1e8f 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -96,7 +96,7 @@ config VIDEO_HELPER_CHIPS_AUTO | |||
96 | 96 | ||
97 | config VIDEO_IR_I2C | 97 | config VIDEO_IR_I2C |
98 | tristate "I2C module for IR" if !VIDEO_HELPER_CHIPS_AUTO | 98 | tristate "I2C module for IR" if !VIDEO_HELPER_CHIPS_AUTO |
99 | depends on I2C && VIDEO_IR | 99 | depends on I2C && IR_CORE |
100 | default y | 100 | default y |
101 | ---help--- | 101 | ---help--- |
102 | Most boards have an IR chip directly connected via GPIO. However, | 102 | Most boards have an IR chip directly connected via GPIO. However, |
diff --git a/drivers/media/video/bt8xx/Kconfig b/drivers/media/video/bt8xx/Kconfig index 1a4a89fdf767..659e44873440 100644 --- a/drivers/media/video/bt8xx/Kconfig +++ b/drivers/media/video/bt8xx/Kconfig | |||
@@ -1,10 +1,10 @@ | |||
1 | config VIDEO_BT848 | 1 | config VIDEO_BT848 |
2 | tristate "BT848 Video For Linux" | 2 | tristate "BT848 Video For Linux" |
3 | depends on VIDEO_DEV && PCI && I2C && VIDEO_V4L2 && INPUT | 3 | depends on VIDEO_DEV && PCI && I2C && VIDEO_V4L2 |
4 | select I2C_ALGOBIT | 4 | select I2C_ALGOBIT |
5 | select VIDEO_BTCX | 5 | select VIDEO_BTCX |
6 | select VIDEOBUF_DMA_SG | 6 | select VIDEOBUF_DMA_SG |
7 | depends on VIDEO_IR | 7 | depends on IR_LEGACY |
8 | select VIDEO_TUNER | 8 | select VIDEO_TUNER |
9 | select VIDEO_TVEEPROM | 9 | select VIDEO_TVEEPROM |
10 | select VIDEO_MSP3400 if VIDEO_HELPER_CHIPS_AUTO | 10 | select VIDEO_MSP3400 if VIDEO_HELPER_CHIPS_AUTO |
diff --git a/drivers/media/video/cx18/Kconfig b/drivers/media/video/cx18/Kconfig index 76c054d1eef9..f3c3ccb491fe 100644 --- a/drivers/media/video/cx18/Kconfig +++ b/drivers/media/video/cx18/Kconfig | |||
@@ -1,9 +1,8 @@ | |||
1 | config VIDEO_CX18 | 1 | config VIDEO_CX18 |
2 | tristate "Conexant cx23418 MPEG encoder support" | 2 | tristate "Conexant cx23418 MPEG encoder support" |
3 | depends on VIDEO_V4L2 && DVB_CORE && PCI && I2C && EXPERIMENTAL | 3 | depends on VIDEO_V4L2 && DVB_CORE && PCI && I2C && EXPERIMENTAL |
4 | depends on INPUT # due to VIDEO_IR | ||
5 | select I2C_ALGOBIT | 4 | select I2C_ALGOBIT |
6 | depends on VIDEO_IR | 5 | depends on IR_CORE |
7 | select VIDEO_TUNER | 6 | select VIDEO_TUNER |
8 | select VIDEO_TVEEPROM | 7 | select VIDEO_TVEEPROM |
9 | select VIDEO_CX2341X | 8 | select VIDEO_CX2341X |
diff --git a/drivers/media/video/cx231xx/Kconfig b/drivers/media/video/cx231xx/Kconfig index c37eac114024..ab7d5df50f55 100644 --- a/drivers/media/video/cx231xx/Kconfig +++ b/drivers/media/video/cx231xx/Kconfig | |||
@@ -1,9 +1,9 @@ | |||
1 | config VIDEO_CX231XX | 1 | config VIDEO_CX231XX |
2 | tristate "Conexant cx231xx USB video capture support" | 2 | tristate "Conexant cx231xx USB video capture support" |
3 | depends on VIDEO_DEV && I2C && INPUT | 3 | depends on VIDEO_DEV && I2C |
4 | select VIDEO_TUNER | 4 | select VIDEO_TUNER |
5 | select VIDEO_TVEEPROM | 5 | select VIDEO_TVEEPROM |
6 | depends on VIDEO_IR | 6 | depends on IR_CORE |
7 | select VIDEOBUF_VMALLOC | 7 | select VIDEOBUF_VMALLOC |
8 | select VIDEO_CX25840 | 8 | select VIDEO_CX25840 |
9 | select VIDEO_CX2341X | 9 | select VIDEO_CX2341X |
diff --git a/drivers/media/video/cx88/Kconfig b/drivers/media/video/cx88/Kconfig index bcfd1ac48cc6..dbae62935e1f 100644 --- a/drivers/media/video/cx88/Kconfig +++ b/drivers/media/video/cx88/Kconfig | |||
@@ -1,12 +1,11 @@ | |||
1 | config VIDEO_CX88 | 1 | config VIDEO_CX88 |
2 | tristate "Conexant 2388x (bt878 successor) support" | 2 | tristate "Conexant 2388x (bt878 successor) support" |
3 | depends on VIDEO_DEV && PCI && I2C && INPUT && IR_CORE | 3 | depends on VIDEO_DEV && PCI && I2C && IR_CORE |
4 | select I2C_ALGOBIT | 4 | select I2C_ALGOBIT |
5 | select VIDEO_BTCX | 5 | select VIDEO_BTCX |
6 | select VIDEOBUF_DMA_SG | 6 | select VIDEOBUF_DMA_SG |
7 | select VIDEO_TUNER | 7 | select VIDEO_TUNER |
8 | select VIDEO_TVEEPROM | 8 | select VIDEO_TVEEPROM |
9 | depends on VIDEO_IR | ||
10 | select VIDEO_WM8775 if VIDEO_HELPER_CHIPS_AUTO | 9 | select VIDEO_WM8775 if VIDEO_HELPER_CHIPS_AUTO |
11 | ---help--- | 10 | ---help--- |
12 | This is a video4linux driver for Conexant 2388x based | 11 | This is a video4linux driver for Conexant 2388x based |
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c index 564e3cb29c4d..8c41124befbd 100644 --- a/drivers/media/video/cx88/cx88-input.c +++ b/drivers/media/video/cx88/cx88-input.c | |||
@@ -31,7 +31,6 @@ | |||
31 | 31 | ||
32 | #include "cx88.h" | 32 | #include "cx88.h" |
33 | #include <media/ir-core.h> | 33 | #include <media/ir-core.h> |
34 | #include <media/ir-common.h> | ||
35 | 34 | ||
36 | #define MODULE_NAME "cx88xx" | 35 | #define MODULE_NAME "cx88xx" |
37 | 36 | ||
diff --git a/drivers/media/video/em28xx/Kconfig b/drivers/media/video/em28xx/Kconfig index 8d38c5fdece0..72ea2baba790 100644 --- a/drivers/media/video/em28xx/Kconfig +++ b/drivers/media/video/em28xx/Kconfig | |||
@@ -1,9 +1,9 @@ | |||
1 | config VIDEO_EM28XX | 1 | config 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 |
4 | select VIDEO_TUNER | 4 | select VIDEO_TUNER |
5 | select VIDEO_TVEEPROM | 5 | select VIDEO_TVEEPROM |
6 | depends on VIDEO_IR | 6 | depends on IR_CORE |
7 | select VIDEOBUF_VMALLOC | 7 | select VIDEOBUF_VMALLOC |
8 | select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO | 8 | select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO |
9 | select VIDEO_TVP5150 if VIDEO_HELPER_CHIPS_AUTO | 9 | select VIDEO_TVP5150 if VIDEO_HELPER_CHIPS_AUTO |
diff --git a/drivers/media/video/ivtv/Kconfig b/drivers/media/video/ivtv/Kconfig index be4af1fa557e..c4f19801c73b 100644 --- a/drivers/media/video/ivtv/Kconfig +++ b/drivers/media/video/ivtv/Kconfig | |||
@@ -1,9 +1,8 @@ | |||
1 | config VIDEO_IVTV | 1 | config VIDEO_IVTV |
2 | tristate "Conexant cx23416/cx23415 MPEG encoder/decoder support" | 2 | tristate "Conexant cx23416/cx23415 MPEG encoder/decoder support" |
3 | depends on VIDEO_V4L2 && PCI && I2C | 3 | depends on VIDEO_V4L2 && PCI && I2C |
4 | depends on INPUT # due to VIDEO_IR | ||
5 | select I2C_ALGOBIT | 4 | select I2C_ALGOBIT |
6 | depends on VIDEO_IR | 5 | depends on IR_CORE |
7 | select VIDEO_TUNER | 6 | select VIDEO_TUNER |
8 | select VIDEO_TVEEPROM | 7 | select VIDEO_TVEEPROM |
9 | select VIDEO_CX2341X | 8 | select VIDEO_CX2341X |
diff --git a/drivers/media/video/saa7134/Kconfig b/drivers/media/video/saa7134/Kconfig index 3fe71be41a1f..32a95a2d66a1 100644 --- a/drivers/media/video/saa7134/Kconfig +++ b/drivers/media/video/saa7134/Kconfig | |||
@@ -26,7 +26,7 @@ config VIDEO_SAA7134_ALSA | |||
26 | 26 | ||
27 | config VIDEO_SAA7134_RC | 27 | config VIDEO_SAA7134_RC |
28 | bool "Philips SAA7134 Remote Controller support" | 28 | bool "Philips SAA7134 Remote Controller support" |
29 | depends on VIDEO_IR | 29 | depends on IR_LEGACY |
30 | depends on VIDEO_SAA7134 | 30 | depends on VIDEO_SAA7134 |
31 | default y | 31 | default y |
32 | ---help--- | 32 | ---help--- |
diff --git a/drivers/media/video/tlg2300/Kconfig b/drivers/media/video/tlg2300/Kconfig index 1686ebfa6951..580580ec9362 100644 --- a/drivers/media/video/tlg2300/Kconfig +++ b/drivers/media/video/tlg2300/Kconfig | |||
@@ -1,9 +1,9 @@ | |||
1 | config VIDEO_TLG2300 | 1 | config VIDEO_TLG2300 |
2 | tristate "Telegent TLG2300 USB video capture support" | 2 | tristate "Telegent TLG2300 USB video capture support" |
3 | depends on VIDEO_DEV && I2C && INPUT && SND && DVB_CORE | 3 | depends on VIDEO_DEV && I2C && SND && DVB_CORE |
4 | select VIDEO_TUNER | 4 | select VIDEO_TUNER |
5 | select VIDEO_TVEEPROM | 5 | select VIDEO_TVEEPROM |
6 | depends on VIDEO_IR | 6 | depends on IR_CORE |
7 | select VIDEOBUF_VMALLOC | 7 | select VIDEOBUF_VMALLOC |
8 | select SND_PCM | 8 | select SND_PCM |
9 | select VIDEOBUF_DVB | 9 | select VIDEOBUF_DVB |
diff --git a/drivers/staging/cx25821/Kconfig b/drivers/staging/cx25821/Kconfig index 1d73334d2a44..f8f2bb01055f 100644 --- a/drivers/staging/cx25821/Kconfig +++ b/drivers/staging/cx25821/Kconfig | |||
@@ -1,11 +1,11 @@ | |||
1 | config VIDEO_CX25821 | 1 | config VIDEO_CX25821 |
2 | tristate "Conexant cx25821 support" | 2 | tristate "Conexant cx25821 support" |
3 | depends on DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT | 3 | depends on DVB_CORE && VIDEO_DEV && PCI && I2C |
4 | depends on BKL # please fix | 4 | depends on BKL # please fix |
5 | select I2C_ALGOBIT | 5 | select I2C_ALGOBIT |
6 | select VIDEO_BTCX | 6 | select VIDEO_BTCX |
7 | select VIDEO_TVEEPROM | 7 | select VIDEO_TVEEPROM |
8 | depends on VIDEO_IR | 8 | depends on IR_CORE |
9 | select VIDEOBUF_DVB | 9 | select VIDEOBUF_DVB |
10 | select VIDEOBUF_DMA_SG | 10 | select VIDEOBUF_DMA_SG |
11 | select VIDEO_CX25840 | 11 | select VIDEO_CX25840 |
diff --git a/drivers/staging/go7007/Kconfig b/drivers/staging/go7007/Kconfig index 3aecd30f0d1e..edc90919f3c6 100644 --- a/drivers/staging/go7007/Kconfig +++ b/drivers/staging/go7007/Kconfig | |||
@@ -1,10 +1,10 @@ | |||
1 | config VIDEO_GO7007 | 1 | config VIDEO_GO7007 |
2 | tristate "WIS GO7007 MPEG encoder support" | 2 | tristate "WIS GO7007 MPEG encoder support" |
3 | depends on VIDEO_DEV && PCI && I2C && INPUT | 3 | depends on VIDEO_DEV && PCI && I2C |
4 | depends on BKL # please fix | 4 | depends on BKL # please fix |
5 | depends on SND | 5 | depends on SND |
6 | select VIDEOBUF_DMA_SG | 6 | select VIDEOBUF_DMA_SG |
7 | depends on VIDEO_IR | 7 | depends on IR_CORE |
8 | select VIDEO_TUNER | 8 | select VIDEO_TUNER |
9 | select VIDEO_TVEEPROM | 9 | select VIDEO_TVEEPROM |
10 | select SND_PCM | 10 | select SND_PCM |