aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/keymaps')
-rw-r--r--drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c2
-rw-r--r--drivers/media/rc/keymaps/rc-alink-dtu-m.c2
-rw-r--r--drivers/media/rc/keymaps/rc-anysee.c2
-rw-r--r--drivers/media/rc/keymaps/rc-apac-viewcomp.c2
-rw-r--r--drivers/media/rc/keymaps/rc-asus-pc39.c2
-rw-r--r--drivers/media/rc/keymaps/rc-ati-tv-wonder-hd-600.c2
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia-a16d.c2
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia-cardbus.c2
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia-dvbt.c2
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia-m135a.c2
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c2
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia-rm-ks.c2
-rw-r--r--drivers/media/rc/keymaps/rc-avermedia.c2
-rw-r--r--drivers/media/rc/keymaps/rc-avertv-303.c2
-rw-r--r--drivers/media/rc/keymaps/rc-azurewave-ad-tu700.c2
-rw-r--r--drivers/media/rc/keymaps/rc-behold-columbus.c2
-rw-r--r--drivers/media/rc/keymaps/rc-behold.c2
-rw-r--r--drivers/media/rc/keymaps/rc-budget-ci-old.c2
-rw-r--r--drivers/media/rc/keymaps/rc-cinergy-1400.c2
-rw-r--r--drivers/media/rc/keymaps/rc-cinergy.c2
-rw-r--r--drivers/media/rc/keymaps/rc-dib0700-nec.c2
-rw-r--r--drivers/media/rc/keymaps/rc-dib0700-rc5.c2
-rw-r--r--drivers/media/rc/keymaps/rc-digitalnow-tinytwin.c2
-rw-r--r--drivers/media/rc/keymaps/rc-digittrade.c2
-rw-r--r--drivers/media/rc/keymaps/rc-dm1105-nec.c2
-rw-r--r--drivers/media/rc/keymaps/rc-dntv-live-dvb-t.c2
-rw-r--r--drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c2
-rw-r--r--drivers/media/rc/keymaps/rc-em-terratec.c2
-rw-r--r--drivers/media/rc/keymaps/rc-encore-enltv-fm53.c2
-rw-r--r--drivers/media/rc/keymaps/rc-encore-enltv.c2
-rw-r--r--drivers/media/rc/keymaps/rc-encore-enltv2.c2
-rw-r--r--drivers/media/rc/keymaps/rc-evga-indtube.c2
-rw-r--r--drivers/media/rc/keymaps/rc-eztv.c2
-rw-r--r--drivers/media/rc/keymaps/rc-flydvb.c2
-rw-r--r--drivers/media/rc/keymaps/rc-flyvideo.c2
-rw-r--r--drivers/media/rc/keymaps/rc-fusionhdtv-mce.c2
-rw-r--r--drivers/media/rc/keymaps/rc-gadmei-rm008z.c2
-rw-r--r--drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.c2
-rw-r--r--drivers/media/rc/keymaps/rc-gotview7135.c2
-rw-r--r--drivers/media/rc/keymaps/rc-hauppauge-new.c2
-rw-r--r--drivers/media/rc/keymaps/rc-imon-mce.c2
-rw-r--r--drivers/media/rc/keymaps/rc-imon-pad.c2
-rw-r--r--drivers/media/rc/keymaps/rc-iodata-bctv7e.c2
-rw-r--r--drivers/media/rc/keymaps/rc-kaiomy.c2
-rw-r--r--drivers/media/rc/keymaps/rc-kworld-315u.c2
-rw-r--r--drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c2
-rw-r--r--drivers/media/rc/keymaps/rc-leadtek-y04g0051.c2
-rw-r--r--drivers/media/rc/keymaps/rc-lirc.c2
-rw-r--r--drivers/media/rc/keymaps/rc-lme2510.c2
-rw-r--r--drivers/media/rc/keymaps/rc-manli.c2
-rw-r--r--drivers/media/rc/keymaps/rc-msi-digivox-ii.c2
-rw-r--r--drivers/media/rc/keymaps/rc-msi-digivox-iii.c2
-rw-r--r--drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c2
-rw-r--r--drivers/media/rc/keymaps/rc-msi-tvanywhere.c2
-rw-r--r--drivers/media/rc/keymaps/rc-nebula.c2
-rw-r--r--drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.c2
-rw-r--r--drivers/media/rc/keymaps/rc-norwood.c2
-rw-r--r--drivers/media/rc/keymaps/rc-npgtech.c2
-rw-r--r--drivers/media/rc/keymaps/rc-pctv-sedna.c2
-rw-r--r--drivers/media/rc/keymaps/rc-pinnacle-color.c2
-rw-r--r--drivers/media/rc/keymaps/rc-pinnacle-grey.c2
-rw-r--r--drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c2
-rw-r--r--drivers/media/rc/keymaps/rc-pixelview-mk12.c2
-rw-r--r--drivers/media/rc/keymaps/rc-pixelview-new.c2
-rw-r--r--drivers/media/rc/keymaps/rc-pixelview.c2
-rw-r--r--drivers/media/rc/keymaps/rc-powercolor-real-angel.c2
-rw-r--r--drivers/media/rc/keymaps/rc-proteus-2309.c2
-rw-r--r--drivers/media/rc/keymaps/rc-purpletv.c2
-rw-r--r--drivers/media/rc/keymaps/rc-pv951.c2
-rw-r--r--drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c2
-rw-r--r--drivers/media/rc/keymaps/rc-rc5-tv.c2
-rw-r--r--drivers/media/rc/keymaps/rc-rc6-mce.c2
-rw-r--r--drivers/media/rc/keymaps/rc-real-audio-220-32-keys.c2
-rw-r--r--drivers/media/rc/keymaps/rc-streamzap.c2
-rw-r--r--drivers/media/rc/keymaps/rc-tbs-nec.c2
-rw-r--r--drivers/media/rc/keymaps/rc-terratec-cinergy-xs.c2
-rw-r--r--drivers/media/rc/keymaps/rc-terratec-slim.c2
-rw-r--r--drivers/media/rc/keymaps/rc-tevii-nec.c2
-rw-r--r--drivers/media/rc/keymaps/rc-total-media-in-hand.c2
-rw-r--r--drivers/media/rc/keymaps/rc-trekstor.c2
-rw-r--r--drivers/media/rc/keymaps/rc-tt-1500.c2
-rw-r--r--drivers/media/rc/keymaps/rc-twinhan1027.c2
-rw-r--r--drivers/media/rc/keymaps/rc-videomate-s350.c2
-rw-r--r--drivers/media/rc/keymaps/rc-videomate-tv-pvr.c2
-rw-r--r--drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.c2
-rw-r--r--drivers/media/rc/keymaps/rc-winfast.c2
86 files changed, 86 insertions, 86 deletions
diff --git a/drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c b/drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c
index 0ea0aeee6e78..da6556dd1cf6 100644
--- a/drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c
+++ b/drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c
@@ -14,7 +14,7 @@
14 14
15/* ADS Tech Instant TV DVB-T PCI Remote */ 15/* ADS Tech Instant TV DVB-T PCI Remote */
16 16
17static struct ir_scancode adstech_dvb_t_pci[] = { 17static struct rc_map_table adstech_dvb_t_pci[] = {
18 /* Keys 0 to 9 */ 18 /* Keys 0 to 9 */
19 { 0x4d, KEY_0 }, 19 { 0x4d, KEY_0 },
20 { 0x57, KEY_1 }, 20 { 0x57, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-alink-dtu-m.c b/drivers/media/rc/keymaps/rc-alink-dtu-m.c
index b0ec1c81a080..36e1eb1d8347 100644
--- a/drivers/media/rc/keymaps/rc-alink-dtu-m.c
+++ b/drivers/media/rc/keymaps/rc-alink-dtu-m.c
@@ -21,7 +21,7 @@
21#include <media/rc-map.h> 21#include <media/rc-map.h>
22 22
23/* A-Link DTU(m) slim remote, 6 rows, 3 columns. */ 23/* A-Link DTU(m) slim remote, 6 rows, 3 columns. */
24static struct ir_scancode alink_dtu_m[] = { 24static struct rc_map_table alink_dtu_m[] = {
25 { 0x0800, KEY_VOLUMEUP }, 25 { 0x0800, KEY_VOLUMEUP },
26 { 0x0801, KEY_1 }, 26 { 0x0801, KEY_1 },
27 { 0x0802, KEY_3 }, 27 { 0x0802, KEY_3 },
diff --git a/drivers/media/rc/keymaps/rc-anysee.c b/drivers/media/rc/keymaps/rc-anysee.c
index 9bfe60e663b4..6ca91e0704b9 100644
--- a/drivers/media/rc/keymaps/rc-anysee.c
+++ b/drivers/media/rc/keymaps/rc-anysee.c
@@ -20,7 +20,7 @@
20 20
21#include <media/rc-map.h> 21#include <media/rc-map.h>
22 22
23static struct ir_scancode anysee[] = { 23static struct rc_map_table anysee[] = {
24 { 0x0800, KEY_0 }, 24 { 0x0800, KEY_0 },
25 { 0x0801, KEY_1 }, 25 { 0x0801, KEY_1 },
26 { 0x0802, KEY_2 }, 26 { 0x0802, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-apac-viewcomp.c b/drivers/media/rc/keymaps/rc-apac-viewcomp.c
index a32840dd4df4..a40a1b6ab6b1 100644
--- a/drivers/media/rc/keymaps/rc-apac-viewcomp.c
+++ b/drivers/media/rc/keymaps/rc-apac-viewcomp.c
@@ -14,7 +14,7 @@
14 14
15/* Attila Kondoros <attila.kondoros@chello.hu> */ 15/* Attila Kondoros <attila.kondoros@chello.hu> */
16 16
17static struct ir_scancode apac_viewcomp[] = { 17static struct rc_map_table apac_viewcomp[] = {
18 18
19 { 0x01, KEY_1 }, 19 { 0x01, KEY_1 },
20 { 0x02, KEY_2 }, 20 { 0x02, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-asus-pc39.c b/drivers/media/rc/keymaps/rc-asus-pc39.c
index f86bfb7bf271..2a58ffe49bb6 100644
--- a/drivers/media/rc/keymaps/rc-asus-pc39.c
+++ b/drivers/media/rc/keymaps/rc-asus-pc39.c
@@ -18,7 +18,7 @@
18 * which has a label saying is "Model PC-39" 18 * which has a label saying is "Model PC-39"
19 */ 19 */
20 20
21static struct ir_scancode asus_pc39[] = { 21static struct rc_map_table asus_pc39[] = {
22 /* Keys 0 to 9 */ 22 /* Keys 0 to 9 */
23 { 0x082a, KEY_0 }, 23 { 0x082a, KEY_0 },
24 { 0x0816, KEY_1 }, 24 { 0x0816, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-ati-tv-wonder-hd-600.c b/drivers/media/rc/keymaps/rc-ati-tv-wonder-hd-600.c
index 0cefe1c5536d..ac0a7d981a92 100644
--- a/drivers/media/rc/keymaps/rc-ati-tv-wonder-hd-600.c
+++ b/drivers/media/rc/keymaps/rc-ati-tv-wonder-hd-600.c
@@ -16,7 +16,7 @@
16 Devin Heitmueller <devin.heitmueller@gmail.com> 16 Devin Heitmueller <devin.heitmueller@gmail.com>
17 */ 17 */
18 18
19static struct ir_scancode ati_tv_wonder_hd_600[] = { 19static struct rc_map_table ati_tv_wonder_hd_600[] = {
20 { 0x00, KEY_RECORD}, /* Row 1 */ 20 { 0x00, KEY_RECORD}, /* Row 1 */
21 { 0x01, KEY_PLAYPAUSE}, 21 { 0x01, KEY_PLAYPAUSE},
22 { 0x02, KEY_STOP}, 22 { 0x02, KEY_STOP},
diff --git a/drivers/media/rc/keymaps/rc-avermedia-a16d.c b/drivers/media/rc/keymaps/rc-avermedia-a16d.c
index 43525c8c111a..df3360fb3dbe 100644
--- a/drivers/media/rc/keymaps/rc-avermedia-a16d.c
+++ b/drivers/media/rc/keymaps/rc-avermedia-a16d.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode avermedia_a16d[] = { 15static struct rc_map_table avermedia_a16d[] = {
16 { 0x20, KEY_LIST}, 16 { 0x20, KEY_LIST},
17 { 0x00, KEY_POWER}, 17 { 0x00, KEY_POWER},
18 { 0x28, KEY_1}, 18 { 0x28, KEY_1},
diff --git a/drivers/media/rc/keymaps/rc-avermedia-cardbus.c b/drivers/media/rc/keymaps/rc-avermedia-cardbus.c
index 2d528cac2caf..40f2f2d418c6 100644
--- a/drivers/media/rc/keymaps/rc-avermedia-cardbus.c
+++ b/drivers/media/rc/keymaps/rc-avermedia-cardbus.c
@@ -14,7 +14,7 @@
14 14
15/* Oldrich Jedlicka <oldium.pro@seznam.cz> */ 15/* Oldrich Jedlicka <oldium.pro@seznam.cz> */
16 16
17static struct ir_scancode avermedia_cardbus[] = { 17static struct rc_map_table avermedia_cardbus[] = {
18 { 0x00, KEY_POWER }, 18 { 0x00, KEY_POWER },
19 { 0x01, KEY_TUNER }, /* TV/FM */ 19 { 0x01, KEY_TUNER }, /* TV/FM */
20 { 0x03, KEY_TEXT }, /* Teletext */ 20 { 0x03, KEY_TEXT }, /* Teletext */
diff --git a/drivers/media/rc/keymaps/rc-avermedia-dvbt.c b/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
index e45b67ffcf3f..b4a1aa134360 100644
--- a/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
+++ b/drivers/media/rc/keymaps/rc-avermedia-dvbt.c
@@ -14,7 +14,7 @@
14 14
15/* Matt Jesson <dvb@jesson.eclipse.co.uk */ 15/* Matt Jesson <dvb@jesson.eclipse.co.uk */
16 16
17static struct ir_scancode avermedia_dvbt[] = { 17static struct rc_map_table avermedia_dvbt[] = {
18 { 0x28, KEY_0 }, /* '0' / 'enter' */ 18 { 0x28, KEY_0 }, /* '0' / 'enter' */
19 { 0x22, KEY_1 }, /* '1' */ 19 { 0x22, KEY_1 }, /* '1' */
20 { 0x12, KEY_2 }, /* '2' / 'up arrow' */ 20 { 0x12, KEY_2 }, /* '2' / 'up arrow' */
diff --git a/drivers/media/rc/keymaps/rc-avermedia-m135a.c b/drivers/media/rc/keymaps/rc-avermedia-m135a.c
index d5622c507d5f..971c6f979e94 100644
--- a/drivers/media/rc/keymaps/rc-avermedia-m135a.c
+++ b/drivers/media/rc/keymaps/rc-avermedia-m135a.c
@@ -22,7 +22,7 @@
22 * codes added by Herton Ronaldo Krzesinski <herton@mandriva.com.br> 22 * codes added by Herton Ronaldo Krzesinski <herton@mandriva.com.br>
23 */ 23 */
24 24
25static struct ir_scancode avermedia_m135a[] = { 25static struct rc_map_table avermedia_m135a[] = {
26 /* RM-JX */ 26 /* RM-JX */
27 { 0x0200, KEY_POWER2 }, 27 { 0x0200, KEY_POWER2 },
28 { 0x022e, KEY_DOT }, /* '.' */ 28 { 0x022e, KEY_DOT }, /* '.' */
diff --git a/drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c b/drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c
index b0e10bec82b2..74f3a20ff72a 100644
--- a/drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c
+++ b/drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c
@@ -16,7 +16,7 @@
16 * Herton Ronaldo Krzesinski <herton@mandriva.com.br> 16 * Herton Ronaldo Krzesinski <herton@mandriva.com.br>
17 */ 17 */
18 18
19static struct ir_scancode avermedia_m733a_rm_k6[] = { 19static struct rc_map_table avermedia_m733a_rm_k6[] = {
20 { 0x0401, KEY_POWER2 }, 20 { 0x0401, KEY_POWER2 },
21 { 0x0406, KEY_MUTE }, 21 { 0x0406, KEY_MUTE },
22 { 0x0408, KEY_MODE }, /* TV/FM */ 22 { 0x0408, KEY_MODE }, /* TV/FM */
diff --git a/drivers/media/rc/keymaps/rc-avermedia-rm-ks.c b/drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
index 334846654a55..dc6a32144e47 100644
--- a/drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
+++ b/drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
@@ -23,7 +23,7 @@
23/* Initial keytable is from Jose Alberto Reguero <jareguero@telefonica.net> 23/* Initial keytable is from Jose Alberto Reguero <jareguero@telefonica.net>
24 and Felipe Morales Moreno <felipe.morales.moreno@gmail.com> */ 24 and Felipe Morales Moreno <felipe.morales.moreno@gmail.com> */
25/* FIXME: mappings are not 100% correct? */ 25/* FIXME: mappings are not 100% correct? */
26static struct ir_scancode avermedia_rm_ks[] = { 26static struct rc_map_table avermedia_rm_ks[] = {
27 { 0x0501, KEY_POWER2 }, 27 { 0x0501, KEY_POWER2 },
28 { 0x0502, KEY_CHANNELUP }, 28 { 0x0502, KEY_CHANNELUP },
29 { 0x0503, KEY_CHANNELDOWN }, 29 { 0x0503, KEY_CHANNELDOWN },
diff --git a/drivers/media/rc/keymaps/rc-avermedia.c b/drivers/media/rc/keymaps/rc-avermedia.c
index cfde54e15d5c..a5ef695e1797 100644
--- a/drivers/media/rc/keymaps/rc-avermedia.c
+++ b/drivers/media/rc/keymaps/rc-avermedia.c
@@ -14,7 +14,7 @@
14 14
15/* Alex Hermann <gaaf@gmx.net> */ 15/* Alex Hermann <gaaf@gmx.net> */
16 16
17static struct ir_scancode avermedia[] = { 17static struct rc_map_table avermedia[] = {
18 { 0x28, KEY_1 }, 18 { 0x28, KEY_1 },
19 { 0x18, KEY_2 }, 19 { 0x18, KEY_2 },
20 { 0x38, KEY_3 }, 20 { 0x38, KEY_3 },
diff --git a/drivers/media/rc/keymaps/rc-avertv-303.c b/drivers/media/rc/keymaps/rc-avertv-303.c
index ae586632b48e..386ba5922046 100644
--- a/drivers/media/rc/keymaps/rc-avertv-303.c
+++ b/drivers/media/rc/keymaps/rc-avertv-303.c
@@ -14,7 +14,7 @@
14 14
15/* AVERTV STUDIO 303 Remote */ 15/* AVERTV STUDIO 303 Remote */
16 16
17static struct ir_scancode avertv_303[] = { 17static struct rc_map_table avertv_303[] = {
18 { 0x2a, KEY_1 }, 18 { 0x2a, KEY_1 },
19 { 0x32, KEY_2 }, 19 { 0x32, KEY_2 },
20 { 0x3a, KEY_3 }, 20 { 0x3a, KEY_3 },
diff --git a/drivers/media/rc/keymaps/rc-azurewave-ad-tu700.c b/drivers/media/rc/keymaps/rc-azurewave-ad-tu700.c
index 579fafedd35a..fbaaba5f3893 100644
--- a/drivers/media/rc/keymaps/rc-azurewave-ad-tu700.c
+++ b/drivers/media/rc/keymaps/rc-azurewave-ad-tu700.c
@@ -20,7 +20,7 @@
20 20
21#include <media/rc-map.h> 21#include <media/rc-map.h>
22 22
23static struct ir_scancode azurewave_ad_tu700[] = { 23static struct rc_map_table azurewave_ad_tu700[] = {
24 { 0x0000, KEY_TAB }, /* Tab */ 24 { 0x0000, KEY_TAB }, /* Tab */
25 { 0x0001, KEY_2 }, 25 { 0x0001, KEY_2 },
26 { 0x0002, KEY_CHANNELDOWN }, 26 { 0x0002, KEY_CHANNELDOWN },
diff --git a/drivers/media/rc/keymaps/rc-behold-columbus.c b/drivers/media/rc/keymaps/rc-behold-columbus.c
index 6abb712c9e04..33accf5b3998 100644
--- a/drivers/media/rc/keymaps/rc-behold-columbus.c
+++ b/drivers/media/rc/keymaps/rc-behold-columbus.c
@@ -21,7 +21,7 @@
21 * helps to descide which keycodes to assign to the buttons. 21 * helps to descide which keycodes to assign to the buttons.
22 */ 22 */
23 23
24static struct ir_scancode behold_columbus[] = { 24static struct rc_map_table behold_columbus[] = {
25 25
26 /* 0x13 0x11 0x1C 0x12 * 26 /* 0x13 0x11 0x1C 0x12 *
27 * Mute Source TV/FM Power * 27 * Mute Source TV/FM Power *
diff --git a/drivers/media/rc/keymaps/rc-behold.c b/drivers/media/rc/keymaps/rc-behold.c
index 5694185a869d..4402414bacd9 100644
--- a/drivers/media/rc/keymaps/rc-behold.c
+++ b/drivers/media/rc/keymaps/rc-behold.c
@@ -24,7 +24,7 @@
24 * helps to descide which keycodes to assign to the buttons. 24 * helps to descide which keycodes to assign to the buttons.
25 */ 25 */
26 26
27static struct ir_scancode behold[] = { 27static struct rc_map_table behold[] = {
28 28
29 /* 0x1c 0x12 * 29 /* 0x1c 0x12 *
30 * TV/FM POWER * 30 * TV/FM POWER *
diff --git a/drivers/media/rc/keymaps/rc-budget-ci-old.c b/drivers/media/rc/keymaps/rc-budget-ci-old.c
index 99f73232c714..e4827a6abf31 100644
--- a/drivers/media/rc/keymaps/rc-budget-ci-old.c
+++ b/drivers/media/rc/keymaps/rc-budget-ci-old.c
@@ -18,7 +18,7 @@
18 * This is a "middle of the road" approach, differences are noted 18 * This is a "middle of the road" approach, differences are noted
19 */ 19 */
20 20
21static struct ir_scancode budget_ci_old[] = { 21static struct rc_map_table budget_ci_old[] = {
22 { 0x00, KEY_0 }, 22 { 0x00, KEY_0 },
23 { 0x01, KEY_1 }, 23 { 0x01, KEY_1 },
24 { 0x02, KEY_2 }, 24 { 0x02, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-cinergy-1400.c b/drivers/media/rc/keymaps/rc-cinergy-1400.c
index b504ddd1a922..6a69866d836c 100644
--- a/drivers/media/rc/keymaps/rc-cinergy-1400.c
+++ b/drivers/media/rc/keymaps/rc-cinergy-1400.c
@@ -14,7 +14,7 @@
14 14
15/* Cinergy 1400 DVB-T */ 15/* Cinergy 1400 DVB-T */
16 16
17static struct ir_scancode cinergy_1400[] = { 17static struct rc_map_table cinergy_1400[] = {
18 { 0x01, KEY_POWER }, 18 { 0x01, KEY_POWER },
19 { 0x02, KEY_1 }, 19 { 0x02, KEY_1 },
20 { 0x03, KEY_2 }, 20 { 0x03, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-cinergy.c b/drivers/media/rc/keymaps/rc-cinergy.c
index 8bf02f154339..ba36d14a01a0 100644
--- a/drivers/media/rc/keymaps/rc-cinergy.c
+++ b/drivers/media/rc/keymaps/rc-cinergy.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode cinergy[] = { 15static struct rc_map_table cinergy[] = {
16 { 0x00, KEY_0 }, 16 { 0x00, KEY_0 },
17 { 0x01, KEY_1 }, 17 { 0x01, KEY_1 },
18 { 0x02, KEY_2 }, 18 { 0x02, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-dib0700-nec.c b/drivers/media/rc/keymaps/rc-dib0700-nec.c
index 47d5476d50e8..921230d84b84 100644
--- a/drivers/media/rc/keymaps/rc-dib0700-nec.c
+++ b/drivers/media/rc/keymaps/rc-dib0700-nec.c
@@ -17,7 +17,7 @@
17 17
18#include <media/rc-map.h> 18#include <media/rc-map.h>
19 19
20static struct ir_scancode dib0700_nec_table[] = { 20static struct rc_map_table dib0700_nec_table[] = {
21 /* Key codes for the Pixelview SBTVD remote */ 21 /* Key codes for the Pixelview SBTVD remote */
22 { 0x8613, KEY_MUTE }, 22 { 0x8613, KEY_MUTE },
23 { 0x8612, KEY_POWER }, 23 { 0x8612, KEY_POWER },
diff --git a/drivers/media/rc/keymaps/rc-dib0700-rc5.c b/drivers/media/rc/keymaps/rc-dib0700-rc5.c
index 1d09921f076f..9febb722c402 100644
--- a/drivers/media/rc/keymaps/rc-dib0700-rc5.c
+++ b/drivers/media/rc/keymaps/rc-dib0700-rc5.c
@@ -17,7 +17,7 @@
17 17
18#include <media/rc-map.h> 18#include <media/rc-map.h>
19 19
20static struct ir_scancode dib0700_rc5_table[] = { 20static struct rc_map_table dib0700_rc5_table[] = {
21 /* Key codes for the tiny Pinnacle remote*/ 21 /* Key codes for the tiny Pinnacle remote*/
22 { 0x0700, KEY_MUTE }, 22 { 0x0700, KEY_MUTE },
23 { 0x0701, KEY_MENU }, /* Pinnacle logo */ 23 { 0x0701, KEY_MENU }, /* Pinnacle logo */
diff --git a/drivers/media/rc/keymaps/rc-digitalnow-tinytwin.c b/drivers/media/rc/keymaps/rc-digitalnow-tinytwin.c
index 8ae726b568ed..da50d7dbb9ef 100644
--- a/drivers/media/rc/keymaps/rc-digitalnow-tinytwin.c
+++ b/drivers/media/rc/keymaps/rc-digitalnow-tinytwin.c
@@ -20,7 +20,7 @@
20 20
21#include <media/rc-map.h> 21#include <media/rc-map.h>
22 22
23static struct ir_scancode digitalnow_tinytwin[] = { 23static struct rc_map_table digitalnow_tinytwin[] = {
24 { 0x0000, KEY_MUTE }, /* [symbol speaker] */ 24 { 0x0000, KEY_MUTE }, /* [symbol speaker] */
25 { 0x0001, KEY_VOLUMEUP }, 25 { 0x0001, KEY_VOLUMEUP },
26 { 0x0002, KEY_POWER2 }, /* TV [power button] */ 26 { 0x0002, KEY_POWER2 }, /* TV [power button] */
diff --git a/drivers/media/rc/keymaps/rc-digittrade.c b/drivers/media/rc/keymaps/rc-digittrade.c
index 206469fb028e..706f95dd6bdc 100644
--- a/drivers/media/rc/keymaps/rc-digittrade.c
+++ b/drivers/media/rc/keymaps/rc-digittrade.c
@@ -25,7 +25,7 @@
25 Initial keytable was from Alain Kalker <miki@dds.nl> */ 25 Initial keytable was from Alain Kalker <miki@dds.nl> */
26 26
27/* Digittrade DVB-T USB Stick */ 27/* Digittrade DVB-T USB Stick */
28static struct ir_scancode digittrade[] = { 28static struct rc_map_table digittrade[] = {
29 { 0x0000, KEY_9 }, 29 { 0x0000, KEY_9 },
30 { 0x0001, KEY_EPG }, /* EPG */ 30 { 0x0001, KEY_EPG }, /* EPG */
31 { 0x0002, KEY_VOLUMEDOWN }, /* Vol Dn */ 31 { 0x0002, KEY_VOLUMEDOWN }, /* Vol Dn */
diff --git a/drivers/media/rc/keymaps/rc-dm1105-nec.c b/drivers/media/rc/keymaps/rc-dm1105-nec.c
index ba6fb0be9d3c..9023dc9a65aa 100644
--- a/drivers/media/rc/keymaps/rc-dm1105-nec.c
+++ b/drivers/media/rc/keymaps/rc-dm1105-nec.c
@@ -16,7 +16,7 @@
16 Igor M. Liplianin <liplianin@me.by> 16 Igor M. Liplianin <liplianin@me.by>
17 */ 17 */
18 18
19static struct ir_scancode dm1105_nec[] = { 19static struct rc_map_table dm1105_nec[] = {
20 { 0x0a, KEY_POWER2}, /* power */ 20 { 0x0a, KEY_POWER2}, /* power */
21 { 0x0c, KEY_MUTE}, /* mute */ 21 { 0x0c, KEY_MUTE}, /* mute */
22 { 0x11, KEY_1}, 22 { 0x11, KEY_1},
diff --git a/drivers/media/rc/keymaps/rc-dntv-live-dvb-t.c b/drivers/media/rc/keymaps/rc-dntv-live-dvb-t.c
index b703937f160b..7fbeaed46516 100644
--- a/drivers/media/rc/keymaps/rc-dntv-live-dvb-t.c
+++ b/drivers/media/rc/keymaps/rc-dntv-live-dvb-t.c
@@ -14,7 +14,7 @@
14 14
15/* DigitalNow DNTV Live DVB-T Remote */ 15/* DigitalNow DNTV Live DVB-T Remote */
16 16
17static struct ir_scancode dntv_live_dvb_t[] = { 17static struct rc_map_table dntv_live_dvb_t[] = {
18 { 0x00, KEY_ESC }, /* 'go up a level?' */ 18 { 0x00, KEY_ESC }, /* 'go up a level?' */
19 /* Keys 0 to 9 */ 19 /* Keys 0 to 9 */
20 { 0x0a, KEY_0 }, 20 { 0x0a, KEY_0 },
diff --git a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c b/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c
index b0126b2fceab..660f2e793d9a 100644
--- a/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c
+++ b/drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c
@@ -14,7 +14,7 @@
14 14
15/* DigitalNow DNTV Live! DVB-T Pro Remote */ 15/* DigitalNow DNTV Live! DVB-T Pro Remote */
16 16
17static struct ir_scancode dntv_live_dvbt_pro[] = { 17static struct rc_map_table dntv_live_dvbt_pro[] = {
18 { 0x16, KEY_POWER }, 18 { 0x16, KEY_POWER },
19 { 0x5b, KEY_HOME }, 19 { 0x5b, KEY_HOME },
20 20
diff --git a/drivers/media/rc/keymaps/rc-em-terratec.c b/drivers/media/rc/keymaps/rc-em-terratec.c
index 57bcd556821d..4d0ad8ca41a2 100644
--- a/drivers/media/rc/keymaps/rc-em-terratec.c
+++ b/drivers/media/rc/keymaps/rc-em-terratec.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode em_terratec[] = { 15static struct rc_map_table em_terratec[] = {
16 { 0x01, KEY_CHANNEL }, 16 { 0x01, KEY_CHANNEL },
17 { 0x02, KEY_SELECT }, 17 { 0x02, KEY_SELECT },
18 { 0x03, KEY_MUTE }, 18 { 0x03, KEY_MUTE },
diff --git a/drivers/media/rc/keymaps/rc-encore-enltv-fm53.c b/drivers/media/rc/keymaps/rc-encore-enltv-fm53.c
index 97e01f4cb76a..3005d4baf211 100644
--- a/drivers/media/rc/keymaps/rc-encore-enltv-fm53.c
+++ b/drivers/media/rc/keymaps/rc-encore-enltv-fm53.c
@@ -16,7 +16,7 @@
16 Mauro Carvalho Chehab <mchehab@infradead.org> 16 Mauro Carvalho Chehab <mchehab@infradead.org>
17 */ 17 */
18 18
19static struct ir_scancode encore_enltv_fm53[] = { 19static struct rc_map_table encore_enltv_fm53[] = {
20 { 0x10, KEY_POWER2}, 20 { 0x10, KEY_POWER2},
21 { 0x06, KEY_MUTE}, 21 { 0x06, KEY_MUTE},
22 22
diff --git a/drivers/media/rc/keymaps/rc-encore-enltv.c b/drivers/media/rc/keymaps/rc-encore-enltv.c
index d3030cf74839..d16db500ed31 100644
--- a/drivers/media/rc/keymaps/rc-encore-enltv.c
+++ b/drivers/media/rc/keymaps/rc-encore-enltv.c
@@ -15,7 +15,7 @@
15/* Encore ENLTV-FM - black plastic, white front cover with white glowing buttons 15/* Encore ENLTV-FM - black plastic, white front cover with white glowing buttons
16 Juan Pablo Sormani <sorman@gmail.com> */ 16 Juan Pablo Sormani <sorman@gmail.com> */
17 17
18static struct ir_scancode encore_enltv[] = { 18static struct rc_map_table encore_enltv[] = {
19 19
20 /* Power button does nothing, neither in Windows app, 20 /* Power button does nothing, neither in Windows app,
21 although it sends data (used for BIOS wakeup?) */ 21 although it sends data (used for BIOS wakeup?) */
diff --git a/drivers/media/rc/keymaps/rc-encore-enltv2.c b/drivers/media/rc/keymaps/rc-encore-enltv2.c
index 1871b32efa98..a5e07c7e6eaf 100644
--- a/drivers/media/rc/keymaps/rc-encore-enltv2.c
+++ b/drivers/media/rc/keymaps/rc-encore-enltv2.c
@@ -15,7 +15,7 @@
15/* Encore ENLTV2-FM - silver plastic - "Wand Media" written at the botton 15/* Encore ENLTV2-FM - silver plastic - "Wand Media" written at the botton
16 Mauro Carvalho Chehab <mchehab@infradead.org> */ 16 Mauro Carvalho Chehab <mchehab@infradead.org> */
17 17
18static struct ir_scancode encore_enltv2[] = { 18static struct rc_map_table encore_enltv2[] = {
19 { 0x4c, KEY_POWER2 }, 19 { 0x4c, KEY_POWER2 },
20 { 0x4a, KEY_TUNER }, 20 { 0x4a, KEY_TUNER },
21 { 0x40, KEY_1 }, 21 { 0x40, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-evga-indtube.c b/drivers/media/rc/keymaps/rc-evga-indtube.c
index 192d7f8287f4..e2d0590d3323 100644
--- a/drivers/media/rc/keymaps/rc-evga-indtube.c
+++ b/drivers/media/rc/keymaps/rc-evga-indtube.c
@@ -16,7 +16,7 @@
16 Devin Heitmueller <devin.heitmueller@gmail.com> 16 Devin Heitmueller <devin.heitmueller@gmail.com>
17 */ 17 */
18 18
19static struct ir_scancode evga_indtube[] = { 19static struct rc_map_table evga_indtube[] = {
20 { 0x12, KEY_POWER}, 20 { 0x12, KEY_POWER},
21 { 0x02, KEY_MODE}, /* TV */ 21 { 0x02, KEY_MODE}, /* TV */
22 { 0x14, KEY_MUTE}, 22 { 0x14, KEY_MUTE},
diff --git a/drivers/media/rc/keymaps/rc-eztv.c b/drivers/media/rc/keymaps/rc-eztv.c
index fe3ab5e31a7f..ee134c58d033 100644
--- a/drivers/media/rc/keymaps/rc-eztv.c
+++ b/drivers/media/rc/keymaps/rc-eztv.c
@@ -15,7 +15,7 @@
15/* Alfons Geser <a.geser@cox.net> 15/* Alfons Geser <a.geser@cox.net>
16 * updates from Job D. R. Borges <jobdrb@ig.com.br> */ 16 * updates from Job D. R. Borges <jobdrb@ig.com.br> */
17 17
18static struct ir_scancode eztv[] = { 18static struct rc_map_table eztv[] = {
19 { 0x12, KEY_POWER }, 19 { 0x12, KEY_POWER },
20 { 0x01, KEY_TV }, /* DVR */ 20 { 0x01, KEY_TV }, /* DVR */
21 { 0x15, KEY_DVD }, /* DVD */ 21 { 0x15, KEY_DVD }, /* DVD */
diff --git a/drivers/media/rc/keymaps/rc-flydvb.c b/drivers/media/rc/keymaps/rc-flydvb.c
index f48249e070f5..ef90a05a16f2 100644
--- a/drivers/media/rc/keymaps/rc-flydvb.c
+++ b/drivers/media/rc/keymaps/rc-flydvb.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode flydvb[] = { 15static struct rc_map_table flydvb[] = {
16 { 0x01, KEY_ZOOM }, /* Full Screen */ 16 { 0x01, KEY_ZOOM }, /* Full Screen */
17 { 0x00, KEY_POWER }, /* Power */ 17 { 0x00, KEY_POWER }, /* Power */
18 18
diff --git a/drivers/media/rc/keymaps/rc-flyvideo.c b/drivers/media/rc/keymaps/rc-flyvideo.c
index 59713fb46820..20a133325e6e 100644
--- a/drivers/media/rc/keymaps/rc-flyvideo.c
+++ b/drivers/media/rc/keymaps/rc-flyvideo.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode flyvideo[] = { 15static struct rc_map_table flyvideo[] = {
16 { 0x0f, KEY_0 }, 16 { 0x0f, KEY_0 },
17 { 0x03, KEY_1 }, 17 { 0x03, KEY_1 },
18 { 0x04, KEY_2 }, 18 { 0x04, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-fusionhdtv-mce.c b/drivers/media/rc/keymaps/rc-fusionhdtv-mce.c
index e69458d8eb1b..2687af77a806 100644
--- a/drivers/media/rc/keymaps/rc-fusionhdtv-mce.c
+++ b/drivers/media/rc/keymaps/rc-fusionhdtv-mce.c
@@ -14,7 +14,7 @@
14 14
15/* DViCO FUSION HDTV MCE remote */ 15/* DViCO FUSION HDTV MCE remote */
16 16
17static struct ir_scancode fusionhdtv_mce[] = { 17static struct rc_map_table fusionhdtv_mce[] = {
18 18
19 { 0x0b, KEY_1 }, 19 { 0x0b, KEY_1 },
20 { 0x17, KEY_2 }, 20 { 0x17, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-gadmei-rm008z.c b/drivers/media/rc/keymaps/rc-gadmei-rm008z.c
index 13587b8d6a4a..fb247baafde1 100644
--- a/drivers/media/rc/keymaps/rc-gadmei-rm008z.c
+++ b/drivers/media/rc/keymaps/rc-gadmei-rm008z.c
@@ -16,7 +16,7 @@
16 Shine Liu <shinel@foxmail.com> 16 Shine Liu <shinel@foxmail.com>
17 */ 17 */
18 18
19static struct ir_scancode gadmei_rm008z[] = { 19static struct rc_map_table gadmei_rm008z[] = {
20 { 0x14, KEY_POWER2}, /* POWER OFF */ 20 { 0x14, KEY_POWER2}, /* POWER OFF */
21 { 0x0c, KEY_MUTE}, /* MUTE */ 21 { 0x0c, KEY_MUTE}, /* MUTE */
22 22
diff --git a/drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.c b/drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.c
index 2304bf677b3d..7e6834acc87f 100644
--- a/drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.c
+++ b/drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.c
@@ -17,7 +17,7 @@
17 * Adrian Pardini <pardo.bsso@gmail.com> 17 * Adrian Pardini <pardo.bsso@gmail.com>
18 */ 18 */
19 19
20static struct ir_scancode genius_tvgo_a11mce[] = { 20static struct rc_map_table genius_tvgo_a11mce[] = {
21 /* Keys 0 to 9 */ 21 /* Keys 0 to 9 */
22 { 0x48, KEY_0 }, 22 { 0x48, KEY_0 },
23 { 0x09, KEY_1 }, 23 { 0x09, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-gotview7135.c b/drivers/media/rc/keymaps/rc-gotview7135.c
index b5be7bfbb7f0..54222caeff7c 100644
--- a/drivers/media/rc/keymaps/rc-gotview7135.c
+++ b/drivers/media/rc/keymaps/rc-gotview7135.c
@@ -14,7 +14,7 @@
14 14
15/* Mike Baikov <mike@baikov.com> */ 15/* Mike Baikov <mike@baikov.com> */
16 16
17static struct ir_scancode gotview7135[] = { 17static struct rc_map_table gotview7135[] = {
18 18
19 { 0x11, KEY_POWER }, 19 { 0x11, KEY_POWER },
20 { 0x35, KEY_TV }, 20 { 0x35, KEY_TV },
diff --git a/drivers/media/rc/keymaps/rc-hauppauge-new.c b/drivers/media/rc/keymaps/rc-hauppauge-new.c
index c60f845dd930..239625785f68 100644
--- a/drivers/media/rc/keymaps/rc-hauppauge-new.c
+++ b/drivers/media/rc/keymaps/rc-hauppauge-new.c
@@ -16,7 +16,7 @@
16 * slightly different versions), shipped with cx88+ivtv cards. 16 * slightly different versions), shipped with cx88+ivtv cards.
17 * almost rc5 coding, but some non-standard keys */ 17 * almost rc5 coding, but some non-standard keys */
18 18
19static struct ir_scancode hauppauge_new[] = { 19static struct rc_map_table hauppauge_new[] = {
20 /* Keys 0 to 9 */ 20 /* Keys 0 to 9 */
21 { 0x00, KEY_0 }, 21 { 0x00, KEY_0 },
22 { 0x01, KEY_1 }, 22 { 0x01, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-imon-mce.c b/drivers/media/rc/keymaps/rc-imon-mce.c
index 4ce902f87701..291e5d8850ec 100644
--- a/drivers/media/rc/keymaps/rc-imon-mce.c
+++ b/drivers/media/rc/keymaps/rc-imon-mce.c
@@ -12,7 +12,7 @@
12#include <media/rc-map.h> 12#include <media/rc-map.h>
13 13
14/* mce-mode imon mce remote key table */ 14/* mce-mode imon mce remote key table */
15static struct ir_scancode imon_mce[] = { 15static struct rc_map_table imon_mce[] = {
16 /* keys sorted mostly by frequency of use to optimize lookups */ 16 /* keys sorted mostly by frequency of use to optimize lookups */
17 { 0x800ff415, KEY_REWIND }, 17 { 0x800ff415, KEY_REWIND },
18 { 0x800ff414, KEY_FASTFORWARD }, 18 { 0x800ff414, KEY_FASTFORWARD },
diff --git a/drivers/media/rc/keymaps/rc-imon-pad.c b/drivers/media/rc/keymaps/rc-imon-pad.c
index 6d4633af4393..33f28d428ef9 100644
--- a/drivers/media/rc/keymaps/rc-imon-pad.c
+++ b/drivers/media/rc/keymaps/rc-imon-pad.c
@@ -17,7 +17,7 @@
17 * same remote to different hex codes, and the silkscreened names 17 * same remote to different hex codes, and the silkscreened names
18 * vary a bit between the SoundGraph and Antec remotes... ugh. 18 * vary a bit between the SoundGraph and Antec remotes... ugh.
19 */ 19 */
20static struct ir_scancode imon_pad[] = { 20static struct rc_map_table imon_pad[] = {
21 /* keys sorted mostly by frequency of use to optimize lookups */ 21 /* keys sorted mostly by frequency of use to optimize lookups */
22 { 0x2a8195b7, KEY_REWIND }, 22 { 0x2a8195b7, KEY_REWIND },
23 { 0x298315b7, KEY_REWIND }, 23 { 0x298315b7, KEY_REWIND },
diff --git a/drivers/media/rc/keymaps/rc-iodata-bctv7e.c b/drivers/media/rc/keymaps/rc-iodata-bctv7e.c
index c5208f10e7c0..5e5263f2380d 100644
--- a/drivers/media/rc/keymaps/rc-iodata-bctv7e.c
+++ b/drivers/media/rc/keymaps/rc-iodata-bctv7e.c
@@ -14,7 +14,7 @@
14 14
15/* IO-DATA BCTV7E Remote */ 15/* IO-DATA BCTV7E Remote */
16 16
17static struct ir_scancode iodata_bctv7e[] = { 17static struct rc_map_table iodata_bctv7e[] = {
18 { 0x40, KEY_TV }, 18 { 0x40, KEY_TV },
19 { 0x20, KEY_RADIO }, /* FM */ 19 { 0x20, KEY_RADIO }, /* FM */
20 { 0x60, KEY_EPG }, 20 { 0x60, KEY_EPG },
diff --git a/drivers/media/rc/keymaps/rc-kaiomy.c b/drivers/media/rc/keymaps/rc-kaiomy.c
index 1b6da7ffb8f1..527ab1b5fb6f 100644
--- a/drivers/media/rc/keymaps/rc-kaiomy.c
+++ b/drivers/media/rc/keymaps/rc-kaiomy.c
@@ -16,7 +16,7 @@
16 Mauro Carvalho Chehab <mchehab@infradead.org> 16 Mauro Carvalho Chehab <mchehab@infradead.org>
17 */ 17 */
18 18
19static struct ir_scancode kaiomy[] = { 19static struct rc_map_table kaiomy[] = {
20 { 0x43, KEY_POWER2}, 20 { 0x43, KEY_POWER2},
21 { 0x01, KEY_LIST}, 21 { 0x01, KEY_LIST},
22 { 0x0b, KEY_ZOOM}, 22 { 0x0b, KEY_ZOOM},
diff --git a/drivers/media/rc/keymaps/rc-kworld-315u.c b/drivers/media/rc/keymaps/rc-kworld-315u.c
index 3418e075938c..f58703e2a3ac 100644
--- a/drivers/media/rc/keymaps/rc-kworld-315u.c
+++ b/drivers/media/rc/keymaps/rc-kworld-315u.c
@@ -15,7 +15,7 @@
15/* Kworld 315U 15/* Kworld 315U
16 */ 16 */
17 17
18static struct ir_scancode kworld_315u[] = { 18static struct rc_map_table kworld_315u[] = {
19 { 0x6143, KEY_POWER }, 19 { 0x6143, KEY_POWER },
20 { 0x6101, KEY_TUNER }, /* source */ 20 { 0x6101, KEY_TUNER }, /* source */
21 { 0x610b, KEY_ZOOM }, 21 { 0x610b, KEY_ZOOM },
diff --git a/drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c b/drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c
index 4d681eb7aaf4..f6235bbad507 100644
--- a/drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c
+++ b/drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c
@@ -16,7 +16,7 @@
16 Mauro Carvalho Chehab <mchehab@infradead.org> 16 Mauro Carvalho Chehab <mchehab@infradead.org>
17 */ 17 */
18 18
19static struct ir_scancode kworld_plus_tv_analog[] = { 19static struct rc_map_table kworld_plus_tv_analog[] = {
20 { 0x0c, KEY_PROG1 }, /* Kworld key */ 20 { 0x0c, KEY_PROG1 }, /* Kworld key */
21 { 0x16, KEY_CLOSECD }, /* -> ) */ 21 { 0x16, KEY_CLOSECD }, /* -> ) */
22 { 0x1d, KEY_POWER2 }, 22 { 0x1d, KEY_POWER2 },
diff --git a/drivers/media/rc/keymaps/rc-leadtek-y04g0051.c b/drivers/media/rc/keymaps/rc-leadtek-y04g0051.c
index ebdd1226bada..e1b8726daa51 100644
--- a/drivers/media/rc/keymaps/rc-leadtek-y04g0051.c
+++ b/drivers/media/rc/keymaps/rc-leadtek-y04g0051.c
@@ -20,7 +20,7 @@
20 20
21#include <media/rc-map.h> 21#include <media/rc-map.h>
22 22
23static struct ir_scancode leadtek_y04g0051[] = { 23static struct rc_map_table leadtek_y04g0051[] = {
24 { 0x0300, KEY_POWER2 }, 24 { 0x0300, KEY_POWER2 },
25 { 0x0303, KEY_SCREEN }, 25 { 0x0303, KEY_SCREEN },
26 { 0x0304, KEY_RIGHT }, 26 { 0x0304, KEY_RIGHT },
diff --git a/drivers/media/rc/keymaps/rc-lirc.c b/drivers/media/rc/keymaps/rc-lirc.c
index 6d8a64170fd9..d4dfee72b8ca 100644
--- a/drivers/media/rc/keymaps/rc-lirc.c
+++ b/drivers/media/rc/keymaps/rc-lirc.c
@@ -11,7 +11,7 @@
11 11
12#include <media/rc-core.h> 12#include <media/rc-core.h>
13 13
14static struct ir_scancode lirc[] = { 14static struct rc_map_table lirc[] = {
15 { }, 15 { },
16}; 16};
17 17
diff --git a/drivers/media/rc/keymaps/rc-lme2510.c b/drivers/media/rc/keymaps/rc-lme2510.c
index ca7e2acb682a..eb2d39698ef0 100644
--- a/drivers/media/rc/keymaps/rc-lme2510.c
+++ b/drivers/media/rc/keymaps/rc-lme2510.c
@@ -12,7 +12,7 @@
12#include <media/rc-map.h> 12#include <media/rc-map.h>
13 13
14 14
15static struct ir_scancode lme2510_rc[] = { 15static struct rc_map_table lme2510_rc[] = {
16 { 0xba45, KEY_0 }, 16 { 0xba45, KEY_0 },
17 { 0xa05f, KEY_1 }, 17 { 0xa05f, KEY_1 },
18 { 0xaf50, KEY_2 }, 18 { 0xaf50, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-manli.c b/drivers/media/rc/keymaps/rc-manli.c
index 056cf52dce60..b24b0821da5a 100644
--- a/drivers/media/rc/keymaps/rc-manli.c
+++ b/drivers/media/rc/keymaps/rc-manli.c
@@ -21,7 +21,7 @@
21 helps to descide which keycodes to assign to the buttons. 21 helps to descide which keycodes to assign to the buttons.
22 */ 22 */
23 23
24static struct ir_scancode manli[] = { 24static struct rc_map_table manli[] = {
25 25
26 /* 0x1c 0x12 * 26 /* 0x1c 0x12 *
27 * FUNCTION POWER * 27 * FUNCTION POWER *
diff --git a/drivers/media/rc/keymaps/rc-msi-digivox-ii.c b/drivers/media/rc/keymaps/rc-msi-digivox-ii.c
index 3a14d31bec4d..4ad89b79a3e8 100644
--- a/drivers/media/rc/keymaps/rc-msi-digivox-ii.c
+++ b/drivers/media/rc/keymaps/rc-msi-digivox-ii.c
@@ -20,7 +20,7 @@
20 20
21#include <media/rc-map.h> 21#include <media/rc-map.h>
22 22
23static struct ir_scancode msi_digivox_ii[] = { 23static struct rc_map_table msi_digivox_ii[] = {
24 { 0x0002, KEY_2 }, 24 { 0x0002, KEY_2 },
25 { 0x0003, KEY_UP }, /* up */ 25 { 0x0003, KEY_UP }, /* up */
26 { 0x0004, KEY_3 }, 26 { 0x0004, KEY_3 },
diff --git a/drivers/media/rc/keymaps/rc-msi-digivox-iii.c b/drivers/media/rc/keymaps/rc-msi-digivox-iii.c
index 16c5b0aa8c43..d3304e798356 100644
--- a/drivers/media/rc/keymaps/rc-msi-digivox-iii.c
+++ b/drivers/media/rc/keymaps/rc-msi-digivox-iii.c
@@ -24,7 +24,7 @@
24/* Uses NEC extended 0x61d6. */ 24/* Uses NEC extended 0x61d6. */
25/* This remote seems to be same as rc-kworld-315u.c. Anyhow, add new remote 25/* This remote seems to be same as rc-kworld-315u.c. Anyhow, add new remote
26 since rc-kworld-315u.c lacks NEC extended address byte. */ 26 since rc-kworld-315u.c lacks NEC extended address byte. */
27static struct ir_scancode msi_digivox_iii[] = { 27static struct rc_map_table msi_digivox_iii[] = {
28 { 0x61d601, KEY_VIDEO }, /* Source */ 28 { 0x61d601, KEY_VIDEO }, /* Source */
29 { 0x61d602, KEY_3 }, 29 { 0x61d602, KEY_3 },
30 { 0x61d603, KEY_POWER }, /* ShutDown */ 30 { 0x61d603, KEY_POWER }, /* ShutDown */
diff --git a/drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c b/drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c
index d4c91020fc07..51999c469884 100644
--- a/drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c
+++ b/drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c
@@ -26,7 +26,7 @@
26 Some changes to formatting and keycodes by Mark Schultz <n9xmj@yahoo.com> 26 Some changes to formatting and keycodes by Mark Schultz <n9xmj@yahoo.com>
27*/ 27*/
28 28
29static struct ir_scancode msi_tvanywhere_plus[] = { 29static struct rc_map_table msi_tvanywhere_plus[] = {
30 30
31/* ---- Remote Button Layout ---- 31/* ---- Remote Button Layout ----
32 32
diff --git a/drivers/media/rc/keymaps/rc-msi-tvanywhere.c b/drivers/media/rc/keymaps/rc-msi-tvanywhere.c
index aec064cb7b15..619df9dcbf12 100644
--- a/drivers/media/rc/keymaps/rc-msi-tvanywhere.c
+++ b/drivers/media/rc/keymaps/rc-msi-tvanywhere.c
@@ -14,7 +14,7 @@
14 14
15/* MSI TV@nywhere MASTER remote */ 15/* MSI TV@nywhere MASTER remote */
16 16
17static struct ir_scancode msi_tvanywhere[] = { 17static struct rc_map_table msi_tvanywhere[] = {
18 /* Keys 0 to 9 */ 18 /* Keys 0 to 9 */
19 { 0x00, KEY_0 }, 19 { 0x00, KEY_0 },
20 { 0x01, KEY_1 }, 20 { 0x01, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-nebula.c b/drivers/media/rc/keymaps/rc-nebula.c
index 2c44b90d48c9..8672859aaad1 100644
--- a/drivers/media/rc/keymaps/rc-nebula.c
+++ b/drivers/media/rc/keymaps/rc-nebula.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode nebula[] = { 15static struct rc_map_table nebula[] = {
16 { 0x00, KEY_0 }, 16 { 0x00, KEY_0 },
17 { 0x01, KEY_1 }, 17 { 0x01, KEY_1 },
18 { 0x02, KEY_2 }, 18 { 0x02, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.c b/drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.c
index 929084bcaa4d..2f560dc791c0 100644
--- a/drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.c
+++ b/drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.c
@@ -16,7 +16,7 @@
16 Mauro Carvalho Chehab <mchehab@redhat.com> 16 Mauro Carvalho Chehab <mchehab@redhat.com>
17 */ 17 */
18 18
19static struct ir_scancode nec_terratec_cinergy_xs[] = { 19static struct rc_map_table nec_terratec_cinergy_xs[] = {
20 { 0x1441, KEY_HOME}, 20 { 0x1441, KEY_HOME},
21 { 0x1401, KEY_POWER2}, 21 { 0x1401, KEY_POWER2},
22 22
diff --git a/drivers/media/rc/keymaps/rc-norwood.c b/drivers/media/rc/keymaps/rc-norwood.c
index 7fe774628edc..f4a85033b297 100644
--- a/drivers/media/rc/keymaps/rc-norwood.c
+++ b/drivers/media/rc/keymaps/rc-norwood.c
@@ -16,7 +16,7 @@
16 By Peter Naulls <peter@chocky.org> 16 By Peter Naulls <peter@chocky.org>
17 Key comments are the functions given in the manual */ 17 Key comments are the functions given in the manual */
18 18
19static struct ir_scancode norwood[] = { 19static struct rc_map_table norwood[] = {
20 /* Keys 0 to 9 */ 20 /* Keys 0 to 9 */
21 { 0x20, KEY_0 }, 21 { 0x20, KEY_0 },
22 { 0x21, KEY_1 }, 22 { 0x21, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-npgtech.c b/drivers/media/rc/keymaps/rc-npgtech.c
index a9cbcde98a30..fdfa549323cc 100644
--- a/drivers/media/rc/keymaps/rc-npgtech.c
+++ b/drivers/media/rc/keymaps/rc-npgtech.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode npgtech[] = { 15static struct rc_map_table npgtech[] = {
16 { 0x1d, KEY_SWITCHVIDEOMODE }, /* switch inputs */ 16 { 0x1d, KEY_SWITCHVIDEOMODE }, /* switch inputs */
17 { 0x2a, KEY_FRONT }, 17 { 0x2a, KEY_FRONT },
18 18
diff --git a/drivers/media/rc/keymaps/rc-pctv-sedna.c b/drivers/media/rc/keymaps/rc-pctv-sedna.c
index 68b33b31f6bf..86c1101c47df 100644
--- a/drivers/media/rc/keymaps/rc-pctv-sedna.c
+++ b/drivers/media/rc/keymaps/rc-pctv-sedna.c
@@ -17,7 +17,7 @@
17 Pavel Mihaylov <bin@bash.info> 17 Pavel Mihaylov <bin@bash.info>
18 Also for the remote bundled with Kozumi KTV-01C card */ 18 Also for the remote bundled with Kozumi KTV-01C card */
19 19
20static struct ir_scancode pctv_sedna[] = { 20static struct rc_map_table pctv_sedna[] = {
21 { 0x00, KEY_0 }, 21 { 0x00, KEY_0 },
22 { 0x01, KEY_1 }, 22 { 0x01, KEY_1 },
23 { 0x02, KEY_2 }, 23 { 0x02, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-pinnacle-color.c b/drivers/media/rc/keymaps/rc-pinnacle-color.c
index 364ccde87a04..d3f4cd411e3b 100644
--- a/drivers/media/rc/keymaps/rc-pinnacle-color.c
+++ b/drivers/media/rc/keymaps/rc-pinnacle-color.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode pinnacle_color[] = { 15static struct rc_map_table pinnacle_color[] = {
16 { 0x59, KEY_MUTE }, 16 { 0x59, KEY_MUTE },
17 { 0x4a, KEY_POWER }, 17 { 0x4a, KEY_POWER },
18 18
diff --git a/drivers/media/rc/keymaps/rc-pinnacle-grey.c b/drivers/media/rc/keymaps/rc-pinnacle-grey.c
index 993eff72f233..1f48b43e4939 100644
--- a/drivers/media/rc/keymaps/rc-pinnacle-grey.c
+++ b/drivers/media/rc/keymaps/rc-pinnacle-grey.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode pinnacle_grey[] = { 15static struct rc_map_table pinnacle_grey[] = {
16 { 0x3a, KEY_0 }, 16 { 0x3a, KEY_0 },
17 { 0x31, KEY_1 }, 17 { 0x31, KEY_1 },
18 { 0x32, KEY_2 }, 18 { 0x32, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c b/drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c
index 56e6a7e203ec..dc7267c2d04a 100644
--- a/drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c
+++ b/drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c
@@ -14,7 +14,7 @@
14 14
15/* Pinnacle PCTV HD 800i mini remote */ 15/* Pinnacle PCTV HD 800i mini remote */
16 16
17static struct ir_scancode pinnacle_pctv_hd[] = { 17static struct rc_map_table pinnacle_pctv_hd[] = {
18 18
19 { 0x0f, KEY_1 }, 19 { 0x0f, KEY_1 },
20 { 0x15, KEY_2 }, 20 { 0x15, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-pixelview-mk12.c b/drivers/media/rc/keymaps/rc-pixelview-mk12.c
index 84f89ebd8998..93f72487a7bb 100644
--- a/drivers/media/rc/keymaps/rc-pixelview-mk12.c
+++ b/drivers/media/rc/keymaps/rc-pixelview-mk12.c
@@ -16,7 +16,7 @@
16 * Keytable for MK-F12 IR remote provided together with Pixelview 16 * Keytable for MK-F12 IR remote provided together with Pixelview
17 * Ultra Pro Remote Controller. Uses NEC extended format. 17 * Ultra Pro Remote Controller. Uses NEC extended format.
18 */ 18 */
19static struct ir_scancode pixelview_mk12[] = { 19static struct rc_map_table pixelview_mk12[] = {
20 { 0x866b03, KEY_TUNER }, /* Timeshift */ 20 { 0x866b03, KEY_TUNER }, /* Timeshift */
21 { 0x866b1e, KEY_POWER2 }, /* power */ 21 { 0x866b1e, KEY_POWER2 }, /* power */
22 22
diff --git a/drivers/media/rc/keymaps/rc-pixelview-new.c b/drivers/media/rc/keymaps/rc-pixelview-new.c
index 703f86bca132..e6d60d2cf271 100644
--- a/drivers/media/rc/keymaps/rc-pixelview-new.c
+++ b/drivers/media/rc/keymaps/rc-pixelview-new.c
@@ -17,7 +17,7 @@
17 present on PV MPEG 8000GT 17 present on PV MPEG 8000GT
18 */ 18 */
19 19
20static struct ir_scancode pixelview_new[] = { 20static struct rc_map_table pixelview_new[] = {
21 { 0x3c, KEY_TIME }, /* Timeshift */ 21 { 0x3c, KEY_TIME }, /* Timeshift */
22 { 0x12, KEY_POWER }, 22 { 0x12, KEY_POWER },
23 23
diff --git a/drivers/media/rc/keymaps/rc-pixelview.c b/drivers/media/rc/keymaps/rc-pixelview.c
index 5a50aa7e411d..2a767102a164 100644
--- a/drivers/media/rc/keymaps/rc-pixelview.c
+++ b/drivers/media/rc/keymaps/rc-pixelview.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode pixelview[] = { 15static struct rc_map_table pixelview[] = {
16 16
17 { 0x1e, KEY_POWER }, /* power */ 17 { 0x1e, KEY_POWER }, /* power */
18 { 0x07, KEY_MEDIA }, /* source */ 18 { 0x07, KEY_MEDIA }, /* source */
diff --git a/drivers/media/rc/keymaps/rc-powercolor-real-angel.c b/drivers/media/rc/keymaps/rc-powercolor-real-angel.c
index 4eec4371f7d1..7cc0d57df3be 100644
--- a/drivers/media/rc/keymaps/rc-powercolor-real-angel.c
+++ b/drivers/media/rc/keymaps/rc-powercolor-real-angel.c
@@ -17,7 +17,7 @@
17 * Daniel Fraga <fragabr@gmail.com> 17 * Daniel Fraga <fragabr@gmail.com>
18 */ 18 */
19 19
20static struct ir_scancode powercolor_real_angel[] = { 20static struct rc_map_table powercolor_real_angel[] = {
21 { 0x38, KEY_SWITCHVIDEOMODE }, /* switch inputs */ 21 { 0x38, KEY_SWITCHVIDEOMODE }, /* switch inputs */
22 { 0x0c, KEY_MEDIA }, /* Turn ON/OFF App */ 22 { 0x0c, KEY_MEDIA }, /* Turn ON/OFF App */
23 { 0x00, KEY_0 }, 23 { 0x00, KEY_0 },
diff --git a/drivers/media/rc/keymaps/rc-proteus-2309.c b/drivers/media/rc/keymaps/rc-proteus-2309.c
index 802c58a0ae26..d5e62a50c1df 100644
--- a/drivers/media/rc/keymaps/rc-proteus-2309.c
+++ b/drivers/media/rc/keymaps/rc-proteus-2309.c
@@ -14,7 +14,7 @@
14 14
15/* Michal Majchrowicz <mmajchrowicz@gmail.com> */ 15/* Michal Majchrowicz <mmajchrowicz@gmail.com> */
16 16
17static struct ir_scancode proteus_2309[] = { 17static struct rc_map_table proteus_2309[] = {
18 /* numeric */ 18 /* numeric */
19 { 0x00, KEY_0 }, 19 { 0x00, KEY_0 },
20 { 0x01, KEY_1 }, 20 { 0x01, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-purpletv.c b/drivers/media/rc/keymaps/rc-purpletv.c
index f3e9709b7c1f..5dbfd913b211 100644
--- a/drivers/media/rc/keymaps/rc-purpletv.c
+++ b/drivers/media/rc/keymaps/rc-purpletv.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode purpletv[] = { 15static struct rc_map_table purpletv[] = {
16 { 0x03, KEY_POWER }, 16 { 0x03, KEY_POWER },
17 { 0x6f, KEY_MUTE }, 17 { 0x6f, KEY_MUTE },
18 { 0x10, KEY_BACKSPACE }, /* Recall */ 18 { 0x10, KEY_BACKSPACE }, /* Recall */
diff --git a/drivers/media/rc/keymaps/rc-pv951.c b/drivers/media/rc/keymaps/rc-pv951.c
index e301ff033af1..d9c7e2f26add 100644
--- a/drivers/media/rc/keymaps/rc-pv951.c
+++ b/drivers/media/rc/keymaps/rc-pv951.c
@@ -14,7 +14,7 @@
14 14
15/* Mark Phalan <phalanm@o2.ie> */ 15/* Mark Phalan <phalanm@o2.ie> */
16 16
17static struct ir_scancode pv951[] = { 17static struct rc_map_table pv951[] = {
18 { 0x00, KEY_0 }, 18 { 0x00, KEY_0 },
19 { 0x01, KEY_1 }, 19 { 0x01, KEY_1 },
20 { 0x02, KEY_2 }, 20 { 0x02, KEY_2 },
diff --git a/drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c b/drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
index 91bcab8bd266..eef2e8714542 100644
--- a/drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
+++ b/drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
@@ -19,7 +19,7 @@
19 * This table contains the complete RC5 code, instead of just the data part 19 * This table contains the complete RC5 code, instead of just the data part
20 */ 20 */
21 21
22static struct ir_scancode rc5_hauppauge_new[] = { 22static struct rc_map_table rc5_hauppauge_new[] = {
23 /* Keys 0 to 9 */ 23 /* Keys 0 to 9 */
24 { 0x1e00, KEY_0 }, 24 { 0x1e00, KEY_0 },
25 { 0x1e01, KEY_1 }, 25 { 0x1e01, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-rc5-tv.c b/drivers/media/rc/keymaps/rc-rc5-tv.c
index cda2a2fae04d..efa14882e762 100644
--- a/drivers/media/rc/keymaps/rc-rc5-tv.c
+++ b/drivers/media/rc/keymaps/rc-rc5-tv.c
@@ -16,7 +16,7 @@
16/* see http://users.pandora.be/nenya/electronics/rc5/codes00.htm */ 16/* see http://users.pandora.be/nenya/electronics/rc5/codes00.htm */
17/* used by old (black) Hauppauge remotes */ 17/* used by old (black) Hauppauge remotes */
18 18
19static struct ir_scancode rc5_tv[] = { 19static struct rc_map_table rc5_tv[] = {
20 /* Keys 0 to 9 */ 20 /* Keys 0 to 9 */
21 { 0x00, KEY_0 }, 21 { 0x00, KEY_0 },
22 { 0x01, KEY_1 }, 22 { 0x01, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-rc6-mce.c b/drivers/media/rc/keymaps/rc-rc6-mce.c
index f926477a0562..81f41723fde3 100644
--- a/drivers/media/rc/keymaps/rc-rc6-mce.c
+++ b/drivers/media/rc/keymaps/rc-rc6-mce.c
@@ -11,7 +11,7 @@
11 11
12#include <media/rc-map.h> 12#include <media/rc-map.h>
13 13
14static struct ir_scancode rc6_mce[] = { 14static struct rc_map_table rc6_mce[] = {
15 15
16 { 0x800f0400, KEY_NUMERIC_0 }, 16 { 0x800f0400, KEY_NUMERIC_0 },
17 { 0x800f0401, KEY_NUMERIC_1 }, 17 { 0x800f0401, KEY_NUMERIC_1 },
diff --git a/drivers/media/rc/keymaps/rc-real-audio-220-32-keys.c b/drivers/media/rc/keymaps/rc-real-audio-220-32-keys.c
index 678142659183..884416ca0ebe 100644
--- a/drivers/media/rc/keymaps/rc-real-audio-220-32-keys.c
+++ b/drivers/media/rc/keymaps/rc-real-audio-220-32-keys.c
@@ -14,7 +14,7 @@
14 14
15/* Zogis Real Audio 220 - 32 keys IR */ 15/* Zogis Real Audio 220 - 32 keys IR */
16 16
17static struct ir_scancode real_audio_220_32_keys[] = { 17static struct rc_map_table real_audio_220_32_keys[] = {
18 { 0x1c, KEY_RADIO}, 18 { 0x1c, KEY_RADIO},
19 { 0x12, KEY_POWER2}, 19 { 0x12, KEY_POWER2},
20 20
diff --git a/drivers/media/rc/keymaps/rc-streamzap.c b/drivers/media/rc/keymaps/rc-streamzap.c
index bafe5b8f4192..5a86a7151488 100644
--- a/drivers/media/rc/keymaps/rc-streamzap.c
+++ b/drivers/media/rc/keymaps/rc-streamzap.c
@@ -11,7 +11,7 @@
11 11
12#include <media/rc-map.h> 12#include <media/rc-map.h>
13 13
14static struct ir_scancode streamzap[] = { 14static struct rc_map_table streamzap[] = {
15/* 15/*
16 * The Streamzap remote is almost, but not quite, RC-5, as it has an extra 16 * The Streamzap remote is almost, but not quite, RC-5, as it has an extra
17 * bit in it, which throws the in-kernel RC-5 decoder for a loop. Currently, 17 * bit in it, which throws the in-kernel RC-5 decoder for a loop. Currently,
diff --git a/drivers/media/rc/keymaps/rc-tbs-nec.c b/drivers/media/rc/keymaps/rc-tbs-nec.c
index 4ef4f811d011..6e2f5b5b7740 100644
--- a/drivers/media/rc/keymaps/rc-tbs-nec.c
+++ b/drivers/media/rc/keymaps/rc-tbs-nec.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode tbs_nec[] = { 15static struct rc_map_table tbs_nec[] = {
16 { 0x04, KEY_POWER2}, /*power*/ 16 { 0x04, KEY_POWER2}, /*power*/
17 { 0x14, KEY_MUTE}, /*mute*/ 17 { 0x14, KEY_MUTE}, /*mute*/
18 { 0x07, KEY_1}, 18 { 0x07, KEY_1},
diff --git a/drivers/media/rc/keymaps/rc-terratec-cinergy-xs.c b/drivers/media/rc/keymaps/rc-terratec-cinergy-xs.c
index 4064a32569e2..540020a7821b 100644
--- a/drivers/media/rc/keymaps/rc-terratec-cinergy-xs.c
+++ b/drivers/media/rc/keymaps/rc-terratec-cinergy-xs.c
@@ -16,7 +16,7 @@
16 Devin Heitmueller <dheitmueller@linuxtv.org> 16 Devin Heitmueller <dheitmueller@linuxtv.org>
17 */ 17 */
18 18
19static struct ir_scancode terratec_cinergy_xs[] = { 19static struct rc_map_table terratec_cinergy_xs[] = {
20 { 0x41, KEY_HOME}, 20 { 0x41, KEY_HOME},
21 { 0x01, KEY_POWER}, 21 { 0x01, KEY_POWER},
22 { 0x42, KEY_MENU}, 22 { 0x42, KEY_MENU},
diff --git a/drivers/media/rc/keymaps/rc-terratec-slim.c b/drivers/media/rc/keymaps/rc-terratec-slim.c
index c23caf70036b..a1513f0299d2 100644
--- a/drivers/media/rc/keymaps/rc-terratec-slim.c
+++ b/drivers/media/rc/keymaps/rc-terratec-slim.c
@@ -22,7 +22,7 @@
22 22
23/* TerraTec slim remote, 7 rows, 4 columns. */ 23/* TerraTec slim remote, 7 rows, 4 columns. */
24/* Uses NEC extended 0x02bd. */ 24/* Uses NEC extended 0x02bd. */
25static struct ir_scancode terratec_slim[] = { 25static struct rc_map_table terratec_slim[] = {
26 { 0x02bd00, KEY_1 }, 26 { 0x02bd00, KEY_1 },
27 { 0x02bd01, KEY_2 }, 27 { 0x02bd01, KEY_2 },
28 { 0x02bd02, KEY_3 }, 28 { 0x02bd02, KEY_3 },
diff --git a/drivers/media/rc/keymaps/rc-tevii-nec.c b/drivers/media/rc/keymaps/rc-tevii-nec.c
index eabfb70973b5..6b2fc431689e 100644
--- a/drivers/media/rc/keymaps/rc-tevii-nec.c
+++ b/drivers/media/rc/keymaps/rc-tevii-nec.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode tevii_nec[] = { 15static struct rc_map_table tevii_nec[] = {
16 { 0x0a, KEY_POWER2}, 16 { 0x0a, KEY_POWER2},
17 { 0x0c, KEY_MUTE}, 17 { 0x0c, KEY_MUTE},
18 { 0x11, KEY_1}, 18 { 0x11, KEY_1},
diff --git a/drivers/media/rc/keymaps/rc-total-media-in-hand.c b/drivers/media/rc/keymaps/rc-total-media-in-hand.c
index cd39b3dbab06..61a4234f13af 100644
--- a/drivers/media/rc/keymaps/rc-total-media-in-hand.c
+++ b/drivers/media/rc/keymaps/rc-total-media-in-hand.c
@@ -21,7 +21,7 @@
21#include <media/rc-map.h> 21#include <media/rc-map.h>
22 22
23/* Uses NEC extended 0x02bd */ 23/* Uses NEC extended 0x02bd */
24static struct ir_scancode total_media_in_hand[] = { 24static struct rc_map_table total_media_in_hand[] = {
25 { 0x02bd00, KEY_1 }, 25 { 0x02bd00, KEY_1 },
26 { 0x02bd01, KEY_2 }, 26 { 0x02bd01, KEY_2 },
27 { 0x02bd02, KEY_3 }, 27 { 0x02bd02, KEY_3 },
diff --git a/drivers/media/rc/keymaps/rc-trekstor.c b/drivers/media/rc/keymaps/rc-trekstor.c
index 31d6c6c23642..2d7bbf8ae83e 100644
--- a/drivers/media/rc/keymaps/rc-trekstor.c
+++ b/drivers/media/rc/keymaps/rc-trekstor.c
@@ -23,7 +23,7 @@
23/* TrekStor DVB-T USB Stick remote controller. */ 23/* TrekStor DVB-T USB Stick remote controller. */
24/* Imported from af9015.h. 24/* Imported from af9015.h.
25 Initial keytable was from Marc Schneider <macke@macke.org> */ 25 Initial keytable was from Marc Schneider <macke@macke.org> */
26static struct ir_scancode trekstor[] = { 26static struct rc_map_table trekstor[] = {
27 { 0x0084, KEY_0 }, 27 { 0x0084, KEY_0 },
28 { 0x0085, KEY_MUTE }, /* Mute */ 28 { 0x0085, KEY_MUTE }, /* Mute */
29 { 0x0086, KEY_HOMEPAGE }, /* Home */ 29 { 0x0086, KEY_HOMEPAGE }, /* Home */
diff --git a/drivers/media/rc/keymaps/rc-tt-1500.c b/drivers/media/rc/keymaps/rc-tt-1500.c
index 45a060850e53..f3fe9f39d069 100644
--- a/drivers/media/rc/keymaps/rc-tt-1500.c
+++ b/drivers/media/rc/keymaps/rc-tt-1500.c
@@ -14,7 +14,7 @@
14 14
15/* for the Technotrend 1500 bundled remotes (grey and black): */ 15/* for the Technotrend 1500 bundled remotes (grey and black): */
16 16
17static struct ir_scancode tt_1500[] = { 17static struct rc_map_table tt_1500[] = {
18 { 0x01, KEY_POWER }, 18 { 0x01, KEY_POWER },
19 { 0x02, KEY_SHUFFLE }, /* ? double-arrow key */ 19 { 0x02, KEY_SHUFFLE }, /* ? double-arrow key */
20 { 0x03, KEY_1 }, 20 { 0x03, KEY_1 },
diff --git a/drivers/media/rc/keymaps/rc-twinhan1027.c b/drivers/media/rc/keymaps/rc-twinhan1027.c
index b5def5387ded..67cc6e0b326b 100644
--- a/drivers/media/rc/keymaps/rc-twinhan1027.c
+++ b/drivers/media/rc/keymaps/rc-twinhan1027.c
@@ -1,6 +1,6 @@
1#include <media/rc-map.h> 1#include <media/rc-map.h>
2 2
3static struct ir_scancode twinhan_vp1027[] = { 3static struct rc_map_table twinhan_vp1027[] = {
4 { 0x16, KEY_POWER2 }, 4 { 0x16, KEY_POWER2 },
5 { 0x17, KEY_FAVORITES }, 5 { 0x17, KEY_FAVORITES },
6 { 0x0f, KEY_TEXT }, 6 { 0x0f, KEY_TEXT },
diff --git a/drivers/media/rc/keymaps/rc-videomate-s350.c b/drivers/media/rc/keymaps/rc-videomate-s350.c
index 7c422b4670fa..f8a0d107001e 100644
--- a/drivers/media/rc/keymaps/rc-videomate-s350.c
+++ b/drivers/media/rc/keymaps/rc-videomate-s350.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode videomate_s350[] = { 15static struct rc_map_table videomate_s350[] = {
16 { 0x00, KEY_TV}, 16 { 0x00, KEY_TV},
17 { 0x01, KEY_DVD}, 17 { 0x01, KEY_DVD},
18 { 0x04, KEY_RECORD}, 18 { 0x04, KEY_RECORD},
diff --git a/drivers/media/rc/keymaps/rc-videomate-tv-pvr.c b/drivers/media/rc/keymaps/rc-videomate-tv-pvr.c
index 4d31b47dfc30..04d102457ea6 100644
--- a/drivers/media/rc/keymaps/rc-videomate-tv-pvr.c
+++ b/drivers/media/rc/keymaps/rc-videomate-tv-pvr.c
@@ -12,7 +12,7 @@
12 12
13#include <media/rc-map.h> 13#include <media/rc-map.h>
14 14
15static struct ir_scancode videomate_tv_pvr[] = { 15static struct rc_map_table videomate_tv_pvr[] = {
16 { 0x14, KEY_MUTE }, 16 { 0x14, KEY_MUTE },
17 { 0x24, KEY_ZOOM }, 17 { 0x24, KEY_ZOOM },
18 18
diff --git a/drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.c b/drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.c
index ade3c14c4c0f..78fc7da4b9e2 100644
--- a/drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.c
+++ b/drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.c
@@ -16,7 +16,7 @@
16 Magnus Alm <magnus.alm@gmail.com> 16 Magnus Alm <magnus.alm@gmail.com>
17 */ 17 */
18 18
19static struct ir_scancode winfast_usbii_deluxe[] = { 19static struct rc_map_table winfast_usbii_deluxe[] = {
20 { 0x62, KEY_0}, 20 { 0x62, KEY_0},
21 { 0x75, KEY_1}, 21 { 0x75, KEY_1},
22 { 0x76, KEY_2}, 22 { 0x76, KEY_2},
diff --git a/drivers/media/rc/keymaps/rc-winfast.c b/drivers/media/rc/keymaps/rc-winfast.c
index 502b5f54f84e..a8fbd7662d39 100644
--- a/drivers/media/rc/keymaps/rc-winfast.c
+++ b/drivers/media/rc/keymaps/rc-winfast.c
@@ -14,7 +14,7 @@
14 14
15/* Table for Leadtek Winfast Remote Controls - used by both bttv and cx88 */ 15/* Table for Leadtek Winfast Remote Controls - used by both bttv and cx88 */
16 16
17static struct ir_scancode winfast[] = { 17static struct rc_map_table winfast[] = {
18 /* Keys 0 to 9 */ 18 /* Keys 0 to 9 */
19 { 0x12, KEY_0 }, 19 { 0x12, KEY_0 },
20 { 0x05, KEY_1 }, 20 { 0x05, KEY_1 },