aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-11-17 11:28:38 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:16:50 -0500
commit6bda96447cef24fbf97a798b1ea664224d5fdc25 (patch)
tree4ab424732b58dfc3b2d0f1b64bd625d67f857cfa
parenta6e3b81f6198654207c4e972e7ed91931e53e93c (diff)
[media] rc: rename the remaining things to rc_core
The Remote Controller subsystem is meant to be used not only by Infra Red but also for similar types of Remote Controllers. The core is not specific to Infra Red. As such, rename: - ir-core.h to rc-core.h - IR_CORE to RC_CORE - namespace inside rc-core.c/rc-core.h To be consistent with the other changes. No functional change on this patch. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/dm1105/Kconfig2
-rw-r--r--drivers/media/dvb/dm1105/dm1105.c2
-rw-r--r--drivers/media/dvb/dvb-usb/Kconfig2
-rw-r--r--drivers/media/dvb/dvb-usb/dvb-usb.h2
-rw-r--r--drivers/media/dvb/dvb-usb/lmedm04.c2
-rw-r--r--drivers/media/dvb/mantis/Kconfig2
-rw-r--r--drivers/media/dvb/mantis/mantis_input.c2
-rw-r--r--drivers/media/dvb/siano/Kconfig2
-rw-r--r--drivers/media/dvb/siano/smsir.h2
-rw-r--r--drivers/media/dvb/ttpci/Kconfig2
-rw-r--r--drivers/media/dvb/ttpci/budget-ci.c2
-rw-r--r--drivers/media/rc/Kconfig35
-rw-r--r--drivers/media/rc/Makefile2
-rw-r--r--drivers/media/rc/ene_ir.c2
-rw-r--r--drivers/media/rc/imon.c2
-rw-r--r--drivers/media/rc/ir-lirc-codec.c2
-rw-r--r--drivers/media/rc/keymaps/Kconfig2
-rw-r--r--drivers/media/rc/keymaps/rc-lirc.c2
-rw-r--r--drivers/media/rc/mceusb.c2
-rw-r--r--drivers/media/rc/nuvoton-cir.c2
-rw-r--r--drivers/media/rc/rc-core-priv.h2
-rw-r--r--drivers/media/rc/rc-main.c18
-rw-r--r--drivers/media/rc/rc-raw.c2
-rw-r--r--drivers/media/rc/streamzap.c2
-rw-r--r--drivers/media/rc/winbond-cir.c2
-rw-r--r--drivers/media/video/Kconfig2
-rw-r--r--drivers/media/video/bt8xx/Kconfig2
-rw-r--r--drivers/media/video/bt8xx/bttvp.h2
-rw-r--r--drivers/media/video/cx18/Kconfig2
-rw-r--r--drivers/media/video/cx231xx/Kconfig4
-rw-r--r--drivers/media/video/cx231xx/cx231xx.h2
-rw-r--r--drivers/media/video/cx23885/Kconfig2
-rw-r--r--drivers/media/video/cx23885/cx23885-input.c2
-rw-r--r--drivers/media/video/cx23885/cx23885.h2
-rw-r--r--drivers/media/video/cx23885/cx23888-ir.c2
-rw-r--r--drivers/media/video/cx25840/cx25840-ir.c2
-rw-r--r--drivers/media/video/cx88/Kconfig2
-rw-r--r--drivers/media/video/cx88/cx88-input.c2
-rw-r--r--drivers/media/video/em28xx/Kconfig2
-rw-r--r--drivers/media/video/em28xx/em28xx.h2
-rw-r--r--drivers/media/video/ir-kbd-i2c.c2
-rw-r--r--drivers/media/video/ivtv/Kconfig2
-rw-r--r--drivers/media/video/saa7134/Kconfig2
-rw-r--r--drivers/media/video/saa7134/saa7134.h2
-rw-r--r--drivers/media/video/tlg2300/Kconfig2
-rw-r--r--drivers/staging/cx25821/Kconfig2
-rw-r--r--drivers/staging/go7007/Kconfig2
-rw-r--r--drivers/staging/tm6000/Kconfig2
-rw-r--r--drivers/staging/tm6000/tm6000-input.c2
-rw-r--r--include/media/ir-kbd-i2c.h2
-rw-r--r--include/media/rc-core.h (renamed from include/media/ir-core.h)4
51 files changed, 78 insertions, 77 deletions
diff --git a/drivers/media/dvb/dm1105/Kconfig b/drivers/media/dvb/dm1105/Kconfig
index 576f3b70d792..f3de0a4d63f2 100644
--- a/drivers/media/dvb/dm1105/Kconfig
+++ b/drivers/media/dvb/dm1105/Kconfig
@@ -8,7 +8,7 @@ config DVB_DM1105
8 select DVB_CX24116 if !DVB_FE_CUSTOMISE 8 select DVB_CX24116 if !DVB_FE_CUSTOMISE
9 select DVB_SI21XX if !DVB_FE_CUSTOMISE 9 select DVB_SI21XX if !DVB_FE_CUSTOMISE
10 select DVB_DS3000 if !DVB_FE_CUSTOMISE 10 select DVB_DS3000 if !DVB_FE_CUSTOMISE
11 depends on IR_CORE 11 depends on RC_CORE
12 help 12 help
13 Support for cards based on the SDMC DM1105 PCI chip like 13 Support for cards based on the SDMC DM1105 PCI chip like
14 DvbWorld 2002 14 DvbWorld 2002
diff --git a/drivers/media/dvb/dm1105/dm1105.c b/drivers/media/dvb/dm1105/dm1105.c
index d1a43858f29c..e9cacf6e9277 100644
--- a/drivers/media/dvb/dm1105/dm1105.c
+++ b/drivers/media/dvb/dm1105/dm1105.c
@@ -27,7 +27,7 @@
27#include <linux/pci.h> 27#include <linux/pci.h>
28#include <linux/dma-mapping.h> 28#include <linux/dma-mapping.h>
29#include <linux/slab.h> 29#include <linux/slab.h>
30#include <media/ir-core.h> 30#include <media/rc-core.h>
31 31
32#include "demux.h" 32#include "demux.h"
33#include "dmxdev.h" 33#include "dmxdev.h"
diff --git a/drivers/media/dvb/dvb-usb/Kconfig b/drivers/media/dvb/dvb-usb/Kconfig
index 2525d3b3c88d..3d48ba019342 100644
--- a/drivers/media/dvb/dvb-usb/Kconfig
+++ b/drivers/media/dvb/dvb-usb/Kconfig
@@ -1,6 +1,6 @@
1config DVB_USB 1config DVB_USB
2 tristate "Support for various USB DVB devices" 2 tristate "Support for various USB DVB devices"
3 depends on DVB_CORE && USB && I2C && IR_CORE 3 depends on DVB_CORE && USB && I2C && RC_CORE
4 help 4 help
5 By enabling this you will be able to choose the various supported 5 By enabling this you will be able to choose the various supported
6 USB1.1 and USB2.0 DVB devices. 6 USB1.1 and USB2.0 DVB devices.
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb.h b/drivers/media/dvb/dvb-usb/dvb-usb.h
index 83aa9826560f..18828cb282c4 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb.h
+++ b/drivers/media/dvb/dvb-usb/dvb-usb.h
@@ -14,7 +14,7 @@
14#include <linux/usb.h> 14#include <linux/usb.h>
15#include <linux/firmware.h> 15#include <linux/firmware.h>
16#include <linux/mutex.h> 16#include <linux/mutex.h>
17#include <media/ir-core.h> 17#include <media/rc-core.h>
18 18
19#include "dvb_frontend.h" 19#include "dvb_frontend.h"
20#include "dvb_demux.h" 20#include "dvb_demux.h"
diff --git a/drivers/media/dvb/dvb-usb/lmedm04.c b/drivers/media/dvb/dvb-usb/lmedm04.c
index d8f1b150e1cb..f0c030837f29 100644
--- a/drivers/media/dvb/dvb-usb/lmedm04.c
+++ b/drivers/media/dvb/dvb-usb/lmedm04.c
@@ -61,7 +61,7 @@
61#define DVB_USB_LOG_PREFIX "LME2510(C)" 61#define DVB_USB_LOG_PREFIX "LME2510(C)"
62#include <linux/usb.h> 62#include <linux/usb.h>
63#include <linux/usb/input.h> 63#include <linux/usb/input.h>
64#include <media/ir-core.h> 64#include <media/rc-core.h>
65 65
66#include "dvb-usb.h" 66#include "dvb-usb.h"
67#include "lmedm04.h" 67#include "lmedm04.h"
diff --git a/drivers/media/dvb/mantis/Kconfig b/drivers/media/dvb/mantis/Kconfig
index fd0830ed10d8..a13a50503134 100644
--- a/drivers/media/dvb/mantis/Kconfig
+++ b/drivers/media/dvb/mantis/Kconfig
@@ -1,6 +1,6 @@
1config MANTIS_CORE 1config MANTIS_CORE
2 tristate "Mantis/Hopper PCI bridge based devices" 2 tristate "Mantis/Hopper PCI bridge based devices"
3 depends on PCI && I2C && INPUT && IR_CORE 3 depends on PCI && I2C && INPUT && RC_CORE
4 4
5 help 5 help
6 Support for PCI cards based on the Mantis and Hopper PCi bridge. 6 Support for PCI cards based on the Mantis and Hopper PCi bridge.
diff --git a/drivers/media/dvb/mantis/mantis_input.c b/drivers/media/dvb/mantis/mantis_input.c
index 209f2110e20c..e030b18ad6d9 100644
--- a/drivers/media/dvb/mantis/mantis_input.c
+++ b/drivers/media/dvb/mantis/mantis_input.c
@@ -18,7 +18,7 @@
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19*/ 19*/
20 20
21#include <media/ir-core.h> 21#include <media/rc-core.h>
22#include <linux/pci.h> 22#include <linux/pci.h>
23 23
24#include "dmxdev.h" 24#include "dmxdev.h"
diff --git a/drivers/media/dvb/siano/Kconfig b/drivers/media/dvb/siano/Kconfig
index e520bceee0af..bc6456eb2c4f 100644
--- a/drivers/media/dvb/siano/Kconfig
+++ b/drivers/media/dvb/siano/Kconfig
@@ -4,7 +4,7 @@
4 4
5config SMS_SIANO_MDTV 5config SMS_SIANO_MDTV
6 tristate "Siano SMS1xxx based MDTV receiver" 6 tristate "Siano SMS1xxx based MDTV receiver"
7 depends on DVB_CORE && IR_CORE && HAS_DMA 7 depends on DVB_CORE && RC_CORE && HAS_DMA
8 ---help--- 8 ---help---
9 Choose Y or M here if you have MDTV receiver with a Siano chipset. 9 Choose Y or M here if you have MDTV receiver with a Siano chipset.
10 10
diff --git a/drivers/media/dvb/siano/smsir.h b/drivers/media/dvb/siano/smsir.h
index c2f68a460ee1..ae92b3a8587e 100644
--- a/drivers/media/dvb/siano/smsir.h
+++ b/drivers/media/dvb/siano/smsir.h
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
28#define __SMS_IR_H__ 28#define __SMS_IR_H__
29 29
30#include <linux/input.h> 30#include <linux/input.h>
31#include <media/ir-core.h> 31#include <media/rc-core.h>
32 32
33#define IR_DEFAULT_TIMEOUT 100 33#define IR_DEFAULT_TIMEOUT 100
34 34
diff --git a/drivers/media/dvb/ttpci/Kconfig b/drivers/media/dvb/ttpci/Kconfig
index 0ffd6943da83..44afab2fdc2d 100644
--- a/drivers/media/dvb/ttpci/Kconfig
+++ b/drivers/media/dvb/ttpci/Kconfig
@@ -97,7 +97,7 @@ config DVB_BUDGET_CI
97 select DVB_LNBP21 if !DVB_FE_CUSTOMISE 97 select DVB_LNBP21 if !DVB_FE_CUSTOMISE
98 select DVB_TDA10023 if !DVB_FE_CUSTOMISE 98 select DVB_TDA10023 if !DVB_FE_CUSTOMISE
99 select MEDIA_TUNER_TDA827X if !MEDIA_TUNER_CUSTOMISE 99 select MEDIA_TUNER_TDA827X if !MEDIA_TUNER_CUSTOMISE
100 depends on IR_CORE 100 depends on RC_CORE
101 help 101 help
102 Support for simple SAA7146 based DVB cards 102 Support for simple SAA7146 based DVB cards
103 (so called Budget- or Nova-PCI cards) without onboard 103 (so called Budget- or Nova-PCI cards) without onboard
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c
index 9aca0f37993b..32caa9b7af8e 100644
--- a/drivers/media/dvb/ttpci/budget-ci.c
+++ b/drivers/media/dvb/ttpci/budget-ci.c
@@ -34,7 +34,7 @@
34#include <linux/slab.h> 34#include <linux/slab.h>
35#include <linux/interrupt.h> 35#include <linux/interrupt.h>
36#include <linux/spinlock.h> 36#include <linux/spinlock.h>
37#include <media/ir-core.h> 37#include <media/rc-core.h>
38 38
39#include "budget.h" 39#include "budget.h"
40 40
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
index ef19375899ec..42b4feb0e7f9 100644
--- a/drivers/media/rc/Kconfig
+++ b/drivers/media/rc/Kconfig
@@ -1,16 +1,17 @@
1menuconfig IR_CORE 1menuconfig RC_CORE
2 tristate "Infrared remote controller adapters" 2 tristate "Remote Controller adapters"
3 depends on INPUT 3 depends on INPUT
4 default INPUT 4 default INPUT
5 ---help--- 5 ---help---
6 Enable support for Remote Controllers on Linux. This is 6 Enable support for Remote Controllers on Linux. This is
7 needed in order to support several video capture adapters. 7 needed in order to support several video capture adapters.
8 Currently, all supported devices use InfraRed.
8 9
9 Enable this option if you have a video capture board even 10 Enable this option if you have a video capture board even
10 if you don't need IR, as otherwise, you may not be able to 11 if you don't need IR, as otherwise, you may not be able to
11 compile the driver for your adapter. 12 compile the driver for your adapter.
12 13
13if IR_CORE 14if RC_CORE
14 15
15config LIRC 16config LIRC
16 tristate 17 tristate
@@ -27,7 +28,7 @@ source "drivers/media/rc/keymaps/Kconfig"
27 28
28config IR_NEC_DECODER 29config IR_NEC_DECODER
29 tristate "Enable IR raw decoder for the NEC protocol" 30 tristate "Enable IR raw decoder for the NEC protocol"
30 depends on IR_CORE 31 depends on RC_CORE
31 select BITREVERSE 32 select BITREVERSE
32 default y 33 default y
33 34
@@ -37,7 +38,7 @@ config IR_NEC_DECODER
37 38
38config IR_RC5_DECODER 39config IR_RC5_DECODER
39 tristate "Enable IR raw decoder for the RC-5 protocol" 40 tristate "Enable IR raw decoder for the RC-5 protocol"
40 depends on IR_CORE 41 depends on RC_CORE
41 select BITREVERSE 42 select BITREVERSE
42 default y 43 default y
43 44
@@ -47,7 +48,7 @@ config IR_RC5_DECODER
47 48
48config IR_RC6_DECODER 49config IR_RC6_DECODER
49 tristate "Enable IR raw decoder for the RC6 protocol" 50 tristate "Enable IR raw decoder for the RC6 protocol"
50 depends on IR_CORE 51 depends on RC_CORE
51 select BITREVERSE 52 select BITREVERSE
52 default y 53 default y
53 54
@@ -57,7 +58,7 @@ config IR_RC6_DECODER
57 58
58config IR_JVC_DECODER 59config IR_JVC_DECODER
59 tristate "Enable IR raw decoder for the JVC protocol" 60 tristate "Enable IR raw decoder for the JVC protocol"
60 depends on IR_CORE 61 depends on RC_CORE
61 select BITREVERSE 62 select BITREVERSE
62 default y 63 default y
63 64
@@ -67,7 +68,7 @@ config IR_JVC_DECODER
67 68
68config IR_SONY_DECODER 69config IR_SONY_DECODER
69 tristate "Enable IR raw decoder for the Sony protocol" 70 tristate "Enable IR raw decoder for the Sony protocol"
70 depends on IR_CORE 71 depends on RC_CORE
71 default y 72 default y
72 73
73 ---help--- 74 ---help---
@@ -76,7 +77,7 @@ config IR_SONY_DECODER
76 77
77config IR_RC5_SZ_DECODER 78config IR_RC5_SZ_DECODER
78 tristate "Enable IR raw decoder for the RC-5 (streamzap) protocol" 79 tristate "Enable IR raw decoder for the RC-5 (streamzap) protocol"
79 depends on IR_CORE 80 depends on RC_CORE
80 select BITREVERSE 81 select BITREVERSE
81 default y 82 default y
82 83
@@ -88,7 +89,7 @@ config IR_RC5_SZ_DECODER
88 89
89config IR_LIRC_CODEC 90config IR_LIRC_CODEC
90 tristate "Enable IR to LIRC bridge" 91 tristate "Enable IR to LIRC bridge"
91 depends on IR_CORE 92 depends on RC_CORE
92 depends on LIRC 93 depends on LIRC
93 default y 94 default y
94 95
@@ -99,7 +100,7 @@ config IR_LIRC_CODEC
99config IR_ENE 100config IR_ENE
100 tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)" 101 tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)"
101 depends on PNP 102 depends on PNP
102 depends on IR_CORE 103 depends on RC_CORE
103 ---help--- 104 ---help---
104 Say Y here to enable support for integrated infrared receiver 105 Say Y here to enable support for integrated infrared receiver
105 /transceiver made by ENE. 106 /transceiver made by ENE.
@@ -113,7 +114,7 @@ config IR_ENE
113config IR_IMON 114config IR_IMON
114 tristate "SoundGraph iMON Receiver and Display" 115 tristate "SoundGraph iMON Receiver and Display"
115 depends on USB_ARCH_HAS_HCD 116 depends on USB_ARCH_HAS_HCD
116 depends on IR_CORE 117 depends on RC_CORE
117 select USB 118 select USB
118 ---help--- 119 ---help---
119 Say Y here if you want to use a SoundGraph iMON (aka Antec Veris) 120 Say Y here if you want to use a SoundGraph iMON (aka Antec Veris)
@@ -125,7 +126,7 @@ config IR_IMON
125config IR_MCEUSB 126config IR_MCEUSB
126 tristate "Windows Media Center Ed. eHome Infrared Transceiver" 127 tristate "Windows Media Center Ed. eHome Infrared Transceiver"
127 depends on USB_ARCH_HAS_HCD 128 depends on USB_ARCH_HAS_HCD
128 depends on IR_CORE 129 depends on RC_CORE
129 select USB 130 select USB
130 ---help--- 131 ---help---
131 Say Y here if you want to use a Windows Media Center Edition 132 Say Y here if you want to use a Windows Media Center Edition
@@ -137,7 +138,7 @@ config IR_MCEUSB
137config IR_NUVOTON 138config IR_NUVOTON
138 tristate "Nuvoton w836x7hg Consumer Infrared Transceiver" 139 tristate "Nuvoton w836x7hg Consumer Infrared Transceiver"
139 depends on PNP 140 depends on PNP
140 depends on IR_CORE 141 depends on RC_CORE
141 ---help--- 142 ---help---
142 Say Y here to enable support for integrated infrared receiver 143 Say Y here to enable support for integrated infrared receiver
143 /transciever made by Nuvoton (formerly Winbond). This chip is 144 /transciever made by Nuvoton (formerly Winbond). This chip is
@@ -150,7 +151,7 @@ config IR_NUVOTON
150config IR_STREAMZAP 151config IR_STREAMZAP
151 tristate "Streamzap PC Remote IR Receiver" 152 tristate "Streamzap PC Remote IR Receiver"
152 depends on USB_ARCH_HAS_HCD 153 depends on USB_ARCH_HAS_HCD
153 depends on IR_CORE 154 depends on RC_CORE
154 select USB 155 select USB
155 ---help--- 156 ---help---
156 Say Y here if you want to use a Streamzap PC Remote 157 Say Y here if you want to use a Streamzap PC Remote
@@ -162,7 +163,7 @@ config IR_STREAMZAP
162config IR_WINBOND_CIR 163config IR_WINBOND_CIR
163 tristate "Winbond IR remote control" 164 tristate "Winbond IR remote control"
164 depends on X86 && PNP 165 depends on X86 && PNP
165 depends on IR_CORE 166 depends on RC_CORE
166 select NEW_LEDS 167 select NEW_LEDS
167 select LEDS_CLASS 168 select LEDS_CLASS
168 select LEDS_TRIGGERS 169 select LEDS_TRIGGERS
@@ -176,4 +177,4 @@ config IR_WINBOND_CIR
176 To compile this driver as a module, choose M here: the module will 177 To compile this driver as a module, choose M here: the module will
177 be called winbond_cir. 178 be called winbond_cir.
178 179
179endif #IR_CORE 180endif #RC_CORE
diff --git a/drivers/media/rc/Makefile b/drivers/media/rc/Makefile
index 8c0e4cb19551..21251ba55904 100644
--- a/drivers/media/rc/Makefile
+++ b/drivers/media/rc/Makefile
@@ -2,7 +2,7 @@ rc-core-objs := rc-main.o rc-raw.o
2 2
3obj-y += keymaps/ 3obj-y += keymaps/
4 4
5obj-$(CONFIG_IR_CORE) += rc-core.o 5obj-$(CONFIG_RC_CORE) += rc-core.o
6obj-$(CONFIG_LIRC) += lirc_dev.o 6obj-$(CONFIG_LIRC) += lirc_dev.o
7obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o 7obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o
8obj-$(CONFIG_IR_RC5_DECODER) += ir-rc5-decoder.o 8obj-$(CONFIG_IR_RC5_DECODER) += ir-rc5-decoder.o
diff --git a/drivers/media/rc/ene_ir.c b/drivers/media/rc/ene_ir.c
index 0a4151f03c7e..1ace4581f157 100644
--- a/drivers/media/rc/ene_ir.c
+++ b/drivers/media/rc/ene_ir.c
@@ -37,7 +37,7 @@
37#include <linux/interrupt.h> 37#include <linux/interrupt.h>
38#include <linux/sched.h> 38#include <linux/sched.h>
39#include <linux/slab.h> 39#include <linux/slab.h>
40#include <media/ir-core.h> 40#include <media/rc-core.h>
41#include "ene_ir.h" 41#include "ene_ir.h"
42 42
43static int sample_period; 43static int sample_period;
diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
index 8d4b35d1ae56..b6ba3c7dc632 100644
--- a/drivers/media/rc/imon.c
+++ b/drivers/media/rc/imon.c
@@ -38,7 +38,7 @@
38#include <linux/input.h> 38#include <linux/input.h>
39#include <linux/usb.h> 39#include <linux/usb.h>
40#include <linux/usb/input.h> 40#include <linux/usb/input.h>
41#include <media/ir-core.h> 41#include <media/rc-core.h>
42 42
43#include <linux/time.h> 43#include <linux/time.h>
44#include <linux/timer.h> 44#include <linux/timer.h>
diff --git a/drivers/media/rc/ir-lirc-codec.c b/drivers/media/rc/ir-lirc-codec.c
index ceabea6053de..f9086c5ba8b1 100644
--- a/drivers/media/rc/ir-lirc-codec.c
+++ b/drivers/media/rc/ir-lirc-codec.c
@@ -16,7 +16,7 @@
16#include <linux/wait.h> 16#include <linux/wait.h>
17#include <media/lirc.h> 17#include <media/lirc.h>
18#include <media/lirc_dev.h> 18#include <media/lirc_dev.h>
19#include <media/ir-core.h> 19#include <media/rc-core.h>
20#include "rc-core-priv.h" 20#include "rc-core-priv.h"
21 21
22#define LIRCBUF_SIZE 256 22#define LIRCBUF_SIZE 256
diff --git a/drivers/media/rc/keymaps/Kconfig b/drivers/media/rc/keymaps/Kconfig
index 14b22f58f823..8e615fd55852 100644
--- a/drivers/media/rc/keymaps/Kconfig
+++ b/drivers/media/rc/keymaps/Kconfig
@@ -1,6 +1,6 @@
1config RC_MAP 1config RC_MAP
2 tristate "Compile Remote Controller keymap modules" 2 tristate "Compile Remote Controller keymap modules"
3 depends on IR_CORE 3 depends on RC_CORE
4 default y 4 default y
5 5
6 ---help--- 6 ---help---
diff --git a/drivers/media/rc/keymaps/rc-lirc.c b/drivers/media/rc/keymaps/rc-lirc.c
index 43fcf9035082..9c8577d6e497 100644
--- a/drivers/media/rc/keymaps/rc-lirc.c
+++ b/drivers/media/rc/keymaps/rc-lirc.c
@@ -9,7 +9,7 @@
9 * (at your option) any later version. 9 * (at your option) any later version.
10 */ 10 */
11 11
12#include <media/ir-core.h> 12#include <media/rc-core.h>
13 13
14static struct ir_scancode lirc[] = { 14static struct ir_scancode lirc[] = {
15 { }, 15 { },
diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c
index 539bec2974b7..db7787ac67a3 100644
--- a/drivers/media/rc/mceusb.c
+++ b/drivers/media/rc/mceusb.c
@@ -37,7 +37,7 @@
37#include <linux/slab.h> 37#include <linux/slab.h>
38#include <linux/usb.h> 38#include <linux/usb.h>
39#include <linux/usb/input.h> 39#include <linux/usb/input.h>
40#include <media/ir-core.h> 40#include <media/rc-core.h>
41 41
42#define DRIVER_VERSION "1.91" 42#define DRIVER_VERSION "1.91"
43#define DRIVER_AUTHOR "Jarod Wilson <jarod@wilsonet.com>" 43#define DRIVER_AUTHOR "Jarod Wilson <jarod@wilsonet.com>"
diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c
index 0ce328f9dacf..bf3f58f7bd7c 100644
--- a/drivers/media/rc/nuvoton-cir.c
+++ b/drivers/media/rc/nuvoton-cir.c
@@ -32,7 +32,7 @@
32#include <linux/interrupt.h> 32#include <linux/interrupt.h>
33#include <linux/sched.h> 33#include <linux/sched.h>
34#include <linux/slab.h> 34#include <linux/slab.h>
35#include <media/ir-core.h> 35#include <media/rc-core.h>
36#include <linux/pci_ids.h> 36#include <linux/pci_ids.h>
37 37
38#include "nuvoton-cir.h" 38#include "nuvoton-cir.h"
diff --git a/drivers/media/rc/rc-core-priv.h b/drivers/media/rc/rc-core-priv.h
index 3616c32d3f87..48065b714d00 100644
--- a/drivers/media/rc/rc-core-priv.h
+++ b/drivers/media/rc/rc-core-priv.h
@@ -18,7 +18,7 @@
18 18
19#include <linux/slab.h> 19#include <linux/slab.h>
20#include <linux/spinlock.h> 20#include <linux/spinlock.h>
21#include <media/ir-core.h> 21#include <media/rc-core.h>
22 22
23struct ir_raw_handler { 23struct ir_raw_handler {
24 struct list_head list; 24 struct list_head list;
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
index 5b67eea96ebb..d91b62cf1324 100644
--- a/drivers/media/rc/rc-main.c
+++ b/drivers/media/rc/rc-main.c
@@ -12,7 +12,7 @@
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 */ 13 */
14 14
15#include <media/ir-core.h> 15#include <media/rc-core.h>
16#include <linux/spinlock.h> 16#include <linux/spinlock.h>
17#include <linux/delay.h> 17#include <linux/delay.h>
18#include <linux/input.h> 18#include <linux/input.h>
@@ -1103,11 +1103,11 @@ EXPORT_SYMBOL_GPL(rc_unregister_device);
1103 * Init/exit code for the module. Basically, creates/removes /sys/class/rc 1103 * Init/exit code for the module. Basically, creates/removes /sys/class/rc
1104 */ 1104 */
1105 1105
1106static int __init ir_core_init(void) 1106static int __init rc_core_init(void)
1107{ 1107{
1108 int rc = class_register(&ir_input_class); 1108 int rc = class_register(&ir_input_class);
1109 if (rc) { 1109 if (rc) {
1110 printk(KERN_ERR "ir_core: unable to register rc class\n"); 1110 printk(KERN_ERR "rc_core: unable to register rc class\n");
1111 return rc; 1111 return rc;
1112 } 1112 }
1113 1113
@@ -1118,18 +1118,18 @@ static int __init ir_core_init(void)
1118 return 0; 1118 return 0;
1119} 1119}
1120 1120
1121static void __exit ir_core_exit(void) 1121static void __exit rc_core_exit(void)
1122{ 1122{
1123 class_unregister(&ir_input_class); 1123 class_unregister(&ir_input_class);
1124 ir_unregister_map(&empty_map); 1124 ir_unregister_map(&empty_map);
1125} 1125}
1126 1126
1127module_init(ir_core_init); 1127module_init(rc_core_init);
1128module_exit(ir_core_exit); 1128module_exit(rc_core_exit);
1129 1129
1130int ir_core_debug; /* ir_debug level (0,1,2) */ 1130int rc_core_debug; /* ir_debug level (0,1,2) */
1131EXPORT_SYMBOL_GPL(ir_core_debug); 1131EXPORT_SYMBOL_GPL(rc_core_debug);
1132module_param_named(debug, ir_core_debug, int, 0644); 1132module_param_named(debug, rc_core_debug, int, 0644);
1133 1133
1134MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>"); 1134MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");
1135MODULE_LICENSE("GPL"); 1135MODULE_LICENSE("GPL");
diff --git a/drivers/media/rc/rc-raw.c b/drivers/media/rc/rc-raw.c
index ab9b1e4071c0..165412fd240e 100644
--- a/drivers/media/rc/rc-raw.c
+++ b/drivers/media/rc/rc-raw.c
@@ -357,7 +357,7 @@ static void init_decoders(struct work_struct *work)
357 load_lirc_codec(); 357 load_lirc_codec();
358 358
359 /* If needed, we may later add some init code. In this case, 359 /* If needed, we may later add some init code. In this case,
360 it is needed to change the CONFIG_MODULE test at ir-core.h 360 it is needed to change the CONFIG_MODULE test at rc-core.h
361 */ 361 */
362} 362}
363#endif 363#endif
diff --git a/drivers/media/rc/streamzap.c b/drivers/media/rc/streamzap.c
index f05f5c173fdf..ea2cb636a193 100644
--- a/drivers/media/rc/streamzap.c
+++ b/drivers/media/rc/streamzap.c
@@ -36,7 +36,7 @@
36#include <linux/slab.h> 36#include <linux/slab.h>
37#include <linux/usb.h> 37#include <linux/usb.h>
38#include <linux/usb/input.h> 38#include <linux/usb/input.h>
39#include <media/ir-core.h> 39#include <media/rc-core.h>
40 40
41#define DRIVER_VERSION "1.61" 41#define DRIVER_VERSION "1.61"
42#define DRIVER_NAME "streamzap" 42#define DRIVER_NAME "streamzap"
diff --git a/drivers/media/rc/winbond-cir.c b/drivers/media/rc/winbond-cir.c
index 0ee16ec23bbf..186de5522001 100644
--- a/drivers/media/rc/winbond-cir.c
+++ b/drivers/media/rc/winbond-cir.c
@@ -50,7 +50,7 @@
50#include <linux/io.h> 50#include <linux/io.h>
51#include <linux/bitrev.h> 51#include <linux/bitrev.h>
52#include <linux/slab.h> 52#include <linux/slab.h>
53#include <media/ir-core.h> 53#include <media/rc-core.h>
54 54
55#define DRVNAME "winbond-cir" 55#define DRVNAME "winbond-cir"
56 56
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index 963b3e6c4a97..4b751ef47a83 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -96,7 +96,7 @@ config VIDEO_HELPER_CHIPS_AUTO
96 96
97config VIDEO_IR_I2C 97config 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 && IR_CORE 99 depends on I2C && RC_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 3c7c0a572c45..7da5c2e1fc12 100644
--- a/drivers/media/video/bt8xx/Kconfig
+++ b/drivers/media/video/bt8xx/Kconfig
@@ -4,7 +4,7 @@ config VIDEO_BT848
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 IR_CORE 7 depends on RC_CORE
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/bt8xx/bttvp.h b/drivers/media/video/bt8xx/bttvp.h
index 0bbdd481e336..b71d04d12085 100644
--- a/drivers/media/video/bt8xx/bttvp.h
+++ b/drivers/media/video/bt8xx/bttvp.h
@@ -41,7 +41,7 @@
41#include <linux/device.h> 41#include <linux/device.h>
42#include <media/videobuf-dma-sg.h> 42#include <media/videobuf-dma-sg.h>
43#include <media/tveeprom.h> 43#include <media/tveeprom.h>
44#include <media/ir-core.h> 44#include <media/rc-core.h>
45#include <media/ir-kbd-i2c.h> 45#include <media/ir-kbd-i2c.h>
46 46
47#include "bt848.h" 47#include "bt848.h"
diff --git a/drivers/media/video/cx18/Kconfig b/drivers/media/video/cx18/Kconfig
index f3c3ccb491fe..d9d2f6ad6ffb 100644
--- a/drivers/media/video/cx18/Kconfig
+++ b/drivers/media/video/cx18/Kconfig
@@ -2,7 +2,7 @@ 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 select I2C_ALGOBIT 4 select I2C_ALGOBIT
5 depends on IR_CORE 5 depends on RC_CORE
6 select VIDEO_TUNER 6 select VIDEO_TUNER
7 select VIDEO_TVEEPROM 7 select VIDEO_TVEEPROM
8 select VIDEO_CX2341X 8 select VIDEO_CX2341X
diff --git a/drivers/media/video/cx231xx/Kconfig b/drivers/media/video/cx231xx/Kconfig
index d6a235007a7d..ae85a7a7bd73 100644
--- a/drivers/media/video/cx231xx/Kconfig
+++ b/drivers/media/video/cx231xx/Kconfig
@@ -3,7 +3,7 @@ config VIDEO_CX231XX
3 depends on VIDEO_DEV && I2C 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 IR_CORE 6 depends on RC_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
@@ -16,7 +16,7 @@ config VIDEO_CX231XX
16 16
17config VIDEO_CX231XX_RC 17config VIDEO_CX231XX_RC
18 bool "Conexant cx231xx Remote Controller additional support" 18 bool "Conexant cx231xx Remote Controller additional support"
19 depends on IR_CORE 19 depends on RC_CORE
20 depends on VIDEO_CX231XX 20 depends on VIDEO_CX231XX
21 default y 21 default y
22 ---help--- 22 ---help---
diff --git a/drivers/media/video/cx231xx/cx231xx.h b/drivers/media/video/cx231xx/cx231xx.h
index fcccc9d2a08e..87a20ae6fcc0 100644
--- a/drivers/media/video/cx231xx/cx231xx.h
+++ b/drivers/media/video/cx231xx/cx231xx.h
@@ -34,7 +34,7 @@
34 34
35#include <media/videobuf-vmalloc.h> 35#include <media/videobuf-vmalloc.h>
36#include <media/v4l2-device.h> 36#include <media/v4l2-device.h>
37#include <media/ir-core.h> 37#include <media/rc-core.h>
38#include <media/ir-kbd-i2c.h> 38#include <media/ir-kbd-i2c.h>
39#include <media/videobuf-dvb.h> 39#include <media/videobuf-dvb.h>
40 40
diff --git a/drivers/media/video/cx23885/Kconfig b/drivers/media/video/cx23885/Kconfig
index e1367b35647a..6b4a516addfe 100644
--- a/drivers/media/video/cx23885/Kconfig
+++ b/drivers/media/video/cx23885/Kconfig
@@ -5,7 +5,7 @@ config VIDEO_CX23885
5 select VIDEO_BTCX 5 select VIDEO_BTCX
6 select VIDEO_TUNER 6 select VIDEO_TUNER
7 select VIDEO_TVEEPROM 7 select VIDEO_TVEEPROM
8 depends on IR_CORE 8 depends on RC_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/media/video/cx23885/cx23885-input.c b/drivers/media/video/cx23885/cx23885-input.c
index f1bb3a8683c1..e824ba63fdde 100644
--- a/drivers/media/video/cx23885/cx23885-input.c
+++ b/drivers/media/video/cx23885/cx23885-input.c
@@ -36,7 +36,7 @@
36 */ 36 */
37 37
38#include <linux/slab.h> 38#include <linux/slab.h>
39#include <media/ir-core.h> 39#include <media/rc-core.h>
40#include <media/v4l2-subdev.h> 40#include <media/v4l2-subdev.h>
41 41
42#include "cx23885.h" 42#include "cx23885.h"
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h
index f350d88944e8..fd387229daff 100644
--- a/drivers/media/video/cx23885/cx23885.h
+++ b/drivers/media/video/cx23885/cx23885.h
@@ -30,7 +30,7 @@
30#include <media/tveeprom.h> 30#include <media/tveeprom.h>
31#include <media/videobuf-dma-sg.h> 31#include <media/videobuf-dma-sg.h>
32#include <media/videobuf-dvb.h> 32#include <media/videobuf-dvb.h>
33#include <media/ir-core.h> 33#include <media/rc-core.h>
34 34
35#include "btcx-risc.h" 35#include "btcx-risc.h"
36#include "cx23885-reg.h" 36#include "cx23885-reg.h"
diff --git a/drivers/media/video/cx23885/cx23888-ir.c b/drivers/media/video/cx23885/cx23888-ir.c
index e78e3e4c8112..e37be6fcf67d 100644
--- a/drivers/media/video/cx23885/cx23888-ir.c
+++ b/drivers/media/video/cx23885/cx23888-ir.c
@@ -26,7 +26,7 @@
26 26
27#include <media/v4l2-device.h> 27#include <media/v4l2-device.h>
28#include <media/v4l2-chip-ident.h> 28#include <media/v4l2-chip-ident.h>
29#include <media/ir-core.h> 29#include <media/rc-core.h>
30 30
31#include "cx23885.h" 31#include "cx23885.h"
32 32
diff --git a/drivers/media/video/cx25840/cx25840-ir.c b/drivers/media/video/cx25840/cx25840-ir.c
index 97a4e9b25fe4..627926f6bde8 100644
--- a/drivers/media/video/cx25840/cx25840-ir.c
+++ b/drivers/media/video/cx25840/cx25840-ir.c
@@ -24,7 +24,7 @@
24#include <linux/slab.h> 24#include <linux/slab.h>
25#include <linux/kfifo.h> 25#include <linux/kfifo.h>
26#include <media/cx25840.h> 26#include <media/cx25840.h>
27#include <media/ir-core.h> 27#include <media/rc-core.h>
28 28
29#include "cx25840-core.h" 29#include "cx25840-core.h"
30 30
diff --git a/drivers/media/video/cx88/Kconfig b/drivers/media/video/cx88/Kconfig
index dbae62935e1f..5c42abdf422f 100644
--- a/drivers/media/video/cx88/Kconfig
+++ b/drivers/media/video/cx88/Kconfig
@@ -1,6 +1,6 @@
1config VIDEO_CX88 1config VIDEO_CX88
2 tristate "Conexant 2388x (bt878 successor) support" 2 tristate "Conexant 2388x (bt878 successor) support"
3 depends on VIDEO_DEV && PCI && I2C && IR_CORE 3 depends on VIDEO_DEV && PCI && I2C && RC_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
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c
index 3b2ef45d6348..a73033846fce 100644
--- a/drivers/media/video/cx88/cx88-input.c
+++ b/drivers/media/video/cx88/cx88-input.c
@@ -29,7 +29,7 @@
29#include <linux/module.h> 29#include <linux/module.h>
30 30
31#include "cx88.h" 31#include "cx88.h"
32#include <media/ir-core.h> 32#include <media/rc-core.h>
33 33
34#define MODULE_NAME "cx88xx" 34#define MODULE_NAME "cx88xx"
35 35
diff --git a/drivers/media/video/em28xx/Kconfig b/drivers/media/video/em28xx/Kconfig
index 72ea2baba790..985100ea17a4 100644
--- a/drivers/media/video/em28xx/Kconfig
+++ b/drivers/media/video/em28xx/Kconfig
@@ -3,7 +3,7 @@ config VIDEO_EM28XX
3 depends on VIDEO_DEV && I2C 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 IR_CORE 6 depends on RC_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/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 6a48043a7b92..6f2795a3d4b7 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -33,7 +33,7 @@
33#include <media/videobuf-vmalloc.h> 33#include <media/videobuf-vmalloc.h>
34#include <media/v4l2-device.h> 34#include <media/v4l2-device.h>
35#include <media/ir-kbd-i2c.h> 35#include <media/ir-kbd-i2c.h>
36#include <media/ir-core.h> 36#include <media/rc-core.h>
37#if defined(CONFIG_VIDEO_EM28XX_DVB) || defined(CONFIG_VIDEO_EM28XX_DVB_MODULE) 37#if defined(CONFIG_VIDEO_EM28XX_DVB) || defined(CONFIG_VIDEO_EM28XX_DVB_MODULE)
38#include <media/videobuf-dvb.h> 38#include <media/videobuf-dvb.h>
39#endif 39#endif
diff --git a/drivers/media/video/ir-kbd-i2c.c b/drivers/media/video/ir-kbd-i2c.c
index de0060fa33f1..83662a4ff73c 100644
--- a/drivers/media/video/ir-kbd-i2c.c
+++ b/drivers/media/video/ir-kbd-i2c.c
@@ -46,7 +46,7 @@
46#include <linux/i2c.h> 46#include <linux/i2c.h>
47#include <linux/workqueue.h> 47#include <linux/workqueue.h>
48 48
49#include <media/ir-core.h> 49#include <media/rc-core.h>
50#include <media/ir-kbd-i2c.h> 50#include <media/ir-kbd-i2c.h>
51 51
52/* ----------------------------------------------------------------------- */ 52/* ----------------------------------------------------------------------- */
diff --git a/drivers/media/video/ivtv/Kconfig b/drivers/media/video/ivtv/Kconfig
index c4f19801c73b..89f65914cc8e 100644
--- a/drivers/media/video/ivtv/Kconfig
+++ b/drivers/media/video/ivtv/Kconfig
@@ -2,7 +2,7 @@ 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 select I2C_ALGOBIT 4 select I2C_ALGOBIT
5 depends on IR_CORE 5 depends on RC_CORE
6 select VIDEO_TUNER 6 select VIDEO_TUNER
7 select VIDEO_TVEEPROM 7 select VIDEO_TVEEPROM
8 select VIDEO_CX2341X 8 select VIDEO_CX2341X
diff --git a/drivers/media/video/saa7134/Kconfig b/drivers/media/video/saa7134/Kconfig
index e03bff9e4246..380f1b28cfcc 100644
--- a/drivers/media/video/saa7134/Kconfig
+++ b/drivers/media/video/saa7134/Kconfig
@@ -26,7 +26,7 @@ config VIDEO_SAA7134_ALSA
26 26
27config VIDEO_SAA7134_RC 27config VIDEO_SAA7134_RC
28 bool "Philips SAA7134 Remote Controller support" 28 bool "Philips SAA7134 Remote Controller support"
29 depends on IR_CORE 29 depends on RC_CORE
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/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index c6ef95ec68f2..1923f3ca0eab 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -37,7 +37,7 @@
37#include <media/v4l2-ioctl.h> 37#include <media/v4l2-ioctl.h>
38#include <media/v4l2-device.h> 38#include <media/v4l2-device.h>
39#include <media/tuner.h> 39#include <media/tuner.h>
40#include <media/ir-core.h> 40#include <media/rc-core.h>
41#include <media/ir-kbd-i2c.h> 41#include <media/ir-kbd-i2c.h>
42#include <media/videobuf-dma-sg.h> 42#include <media/videobuf-dma-sg.h>
43#include <sound/core.h> 43#include <sound/core.h>
diff --git a/drivers/media/video/tlg2300/Kconfig b/drivers/media/video/tlg2300/Kconfig
index 580580ec9362..645d915267e6 100644
--- a/drivers/media/video/tlg2300/Kconfig
+++ b/drivers/media/video/tlg2300/Kconfig
@@ -3,7 +3,7 @@ config VIDEO_TLG2300
3 depends on VIDEO_DEV && I2C && 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 IR_CORE 6 depends on RC_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 f8f2bb01055f..b2656957aa8f 100644
--- a/drivers/staging/cx25821/Kconfig
+++ b/drivers/staging/cx25821/Kconfig
@@ -5,7 +5,7 @@ config VIDEO_CX25821
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 IR_CORE 8 depends on RC_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 edc90919f3c6..1da57df5cbcb 100644
--- a/drivers/staging/go7007/Kconfig
+++ b/drivers/staging/go7007/Kconfig
@@ -4,7 +4,7 @@ config VIDEO_GO7007
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 IR_CORE 7 depends on RC_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
diff --git a/drivers/staging/tm6000/Kconfig b/drivers/staging/tm6000/Kconfig
index de7ebb99d8f6..114eec8a630a 100644
--- a/drivers/staging/tm6000/Kconfig
+++ b/drivers/staging/tm6000/Kconfig
@@ -1,6 +1,6 @@
1config VIDEO_TM6000 1config VIDEO_TM6000
2 tristate "TV Master TM5600/6000/6010 driver" 2 tristate "TV Master TM5600/6000/6010 driver"
3 depends on VIDEO_DEV && I2C && INPUT && IR_CORE && USB && EXPERIMENTAL 3 depends on VIDEO_DEV && I2C && INPUT && RC_CORE && USB && EXPERIMENTAL
4 select VIDEO_TUNER 4 select VIDEO_TUNER
5 select MEDIA_TUNER_XC2028 5 select MEDIA_TUNER_XC2028
6 select MEDIA_TUNER_XC5000 6 select MEDIA_TUNER_XC5000
diff --git a/drivers/staging/tm6000/tm6000-input.c b/drivers/staging/tm6000/tm6000-input.c
index 3517d20c1310..58e93d0f304f 100644
--- a/drivers/staging/tm6000/tm6000-input.c
+++ b/drivers/staging/tm6000/tm6000-input.c
@@ -24,7 +24,7 @@
24#include <linux/input.h> 24#include <linux/input.h>
25#include <linux/usb.h> 25#include <linux/usb.h>
26 26
27#include <media/ir-core.h> 27#include <media/rc-core.h>
28 28
29#include "tm6000.h" 29#include "tm6000.h"
30#include "tm6000-regs.h" 30#include "tm6000-regs.h"
diff --git a/include/media/ir-kbd-i2c.h b/include/media/ir-kbd-i2c.h
index d27505f2448e..f22b359c37ff 100644
--- a/include/media/ir-kbd-i2c.h
+++ b/include/media/ir-kbd-i2c.h
@@ -1,7 +1,7 @@
1#ifndef _IR_I2C 1#ifndef _IR_I2C
2#define _IR_I2C 2#define _IR_I2C
3 3
4#include <media/ir-core.h> 4#include <media/rc-core.h>
5 5
6#define DEFAULT_POLLING_INTERVAL 100 /* ms */ 6#define DEFAULT_POLLING_INTERVAL 100 /* ms */
7 7
diff --git a/include/media/ir-core.h b/include/media/rc-core.h
index c5909981b075..eedb2f0575a4 100644
--- a/include/media/ir-core.h
+++ b/include/media/rc-core.h
@@ -22,8 +22,8 @@
22#include <linux/timer.h> 22#include <linux/timer.h>
23#include <media/rc-map.h> 23#include <media/rc-map.h>
24 24
25extern int ir_core_debug; 25extern int rc_core_debug;
26#define IR_dprintk(level, fmt, arg...) if (ir_core_debug >= level) \ 26#define IR_dprintk(level, fmt, arg...) if (rc_core_debug >= level) \
27 printk(KERN_DEBUG "%s: " fmt , __func__, ## arg) 27 printk(KERN_DEBUG "%s: " fmt , __func__, ## arg)
28 28
29enum rc_driver_type { 29enum rc_driver_type {