Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
d100e659
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d100e659
编写于
11月 17, 2010
作者:
M
Mauro Carvalho Chehab
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[media] rc: use rc_map_ prefix for all rc map tables
Signed-off-by:
N
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
上级
2f4f58d6
变更
89
隐藏空白更改
内联
并排
Showing
89 changed file
with
280 addition
and
280 deletion
+280
-280
drivers/media/dvb/mantis/mantis_input.c
drivers/media/dvb/mantis/mantis_input.c
+4
-4
drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c
drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c
+3
-3
drivers/media/rc/keymaps/rc-alink-dtu-m.c
drivers/media/rc/keymaps/rc-alink-dtu-m.c
+3
-3
drivers/media/rc/keymaps/rc-anysee.c
drivers/media/rc/keymaps/rc-anysee.c
+3
-3
drivers/media/rc/keymaps/rc-apac-viewcomp.c
drivers/media/rc/keymaps/rc-apac-viewcomp.c
+3
-3
drivers/media/rc/keymaps/rc-asus-pc39.c
drivers/media/rc/keymaps/rc-asus-pc39.c
+3
-3
drivers/media/rc/keymaps/rc-ati-tv-wonder-hd-600.c
drivers/media/rc/keymaps/rc-ati-tv-wonder-hd-600.c
+3
-3
drivers/media/rc/keymaps/rc-avermedia-a16d.c
drivers/media/rc/keymaps/rc-avermedia-a16d.c
+3
-3
drivers/media/rc/keymaps/rc-avermedia-cardbus.c
drivers/media/rc/keymaps/rc-avermedia-cardbus.c
+3
-3
drivers/media/rc/keymaps/rc-avermedia-dvbt.c
drivers/media/rc/keymaps/rc-avermedia-dvbt.c
+3
-3
drivers/media/rc/keymaps/rc-avermedia-m135a.c
drivers/media/rc/keymaps/rc-avermedia-m135a.c
+3
-3
drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c
drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c
+3
-3
drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
+3
-3
drivers/media/rc/keymaps/rc-avermedia.c
drivers/media/rc/keymaps/rc-avermedia.c
+3
-3
drivers/media/rc/keymaps/rc-avertv-303.c
drivers/media/rc/keymaps/rc-avertv-303.c
+3
-3
drivers/media/rc/keymaps/rc-azurewave-ad-tu700.c
drivers/media/rc/keymaps/rc-azurewave-ad-tu700.c
+3
-3
drivers/media/rc/keymaps/rc-behold-columbus.c
drivers/media/rc/keymaps/rc-behold-columbus.c
+3
-3
drivers/media/rc/keymaps/rc-behold.c
drivers/media/rc/keymaps/rc-behold.c
+3
-3
drivers/media/rc/keymaps/rc-budget-ci-old.c
drivers/media/rc/keymaps/rc-budget-ci-old.c
+3
-3
drivers/media/rc/keymaps/rc-cinergy-1400.c
drivers/media/rc/keymaps/rc-cinergy-1400.c
+3
-3
drivers/media/rc/keymaps/rc-cinergy.c
drivers/media/rc/keymaps/rc-cinergy.c
+3
-3
drivers/media/rc/keymaps/rc-dib0700-nec.c
drivers/media/rc/keymaps/rc-dib0700-nec.c
+3
-3
drivers/media/rc/keymaps/rc-dib0700-rc5.c
drivers/media/rc/keymaps/rc-dib0700-rc5.c
+3
-3
drivers/media/rc/keymaps/rc-digitalnow-tinytwin.c
drivers/media/rc/keymaps/rc-digitalnow-tinytwin.c
+3
-3
drivers/media/rc/keymaps/rc-digittrade.c
drivers/media/rc/keymaps/rc-digittrade.c
+3
-3
drivers/media/rc/keymaps/rc-dm1105-nec.c
drivers/media/rc/keymaps/rc-dm1105-nec.c
+3
-3
drivers/media/rc/keymaps/rc-dntv-live-dvb-t.c
drivers/media/rc/keymaps/rc-dntv-live-dvb-t.c
+3
-3
drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c
drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c
+3
-3
drivers/media/rc/keymaps/rc-em-terratec.c
drivers/media/rc/keymaps/rc-em-terratec.c
+3
-3
drivers/media/rc/keymaps/rc-encore-enltv-fm53.c
drivers/media/rc/keymaps/rc-encore-enltv-fm53.c
+3
-3
drivers/media/rc/keymaps/rc-encore-enltv.c
drivers/media/rc/keymaps/rc-encore-enltv.c
+3
-3
drivers/media/rc/keymaps/rc-encore-enltv2.c
drivers/media/rc/keymaps/rc-encore-enltv2.c
+3
-3
drivers/media/rc/keymaps/rc-evga-indtube.c
drivers/media/rc/keymaps/rc-evga-indtube.c
+3
-3
drivers/media/rc/keymaps/rc-eztv.c
drivers/media/rc/keymaps/rc-eztv.c
+3
-3
drivers/media/rc/keymaps/rc-flydvb.c
drivers/media/rc/keymaps/rc-flydvb.c
+3
-3
drivers/media/rc/keymaps/rc-flyvideo.c
drivers/media/rc/keymaps/rc-flyvideo.c
+3
-3
drivers/media/rc/keymaps/rc-fusionhdtv-mce.c
drivers/media/rc/keymaps/rc-fusionhdtv-mce.c
+3
-3
drivers/media/rc/keymaps/rc-gadmei-rm008z.c
drivers/media/rc/keymaps/rc-gadmei-rm008z.c
+3
-3
drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.c
drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.c
+3
-3
drivers/media/rc/keymaps/rc-gotview7135.c
drivers/media/rc/keymaps/rc-gotview7135.c
+3
-3
drivers/media/rc/keymaps/rc-hauppauge-new.c
drivers/media/rc/keymaps/rc-hauppauge-new.c
+3
-3
drivers/media/rc/keymaps/rc-imon-mce.c
drivers/media/rc/keymaps/rc-imon-mce.c
+3
-3
drivers/media/rc/keymaps/rc-imon-pad.c
drivers/media/rc/keymaps/rc-imon-pad.c
+3
-3
drivers/media/rc/keymaps/rc-iodata-bctv7e.c
drivers/media/rc/keymaps/rc-iodata-bctv7e.c
+3
-3
drivers/media/rc/keymaps/rc-kaiomy.c
drivers/media/rc/keymaps/rc-kaiomy.c
+3
-3
drivers/media/rc/keymaps/rc-kworld-315u.c
drivers/media/rc/keymaps/rc-kworld-315u.c
+3
-3
drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c
drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c
+3
-3
drivers/media/rc/keymaps/rc-leadtek-y04g0051.c
drivers/media/rc/keymaps/rc-leadtek-y04g0051.c
+3
-3
drivers/media/rc/keymaps/rc-lirc.c
drivers/media/rc/keymaps/rc-lirc.c
+3
-3
drivers/media/rc/keymaps/rc-lme2510.c
drivers/media/rc/keymaps/rc-lme2510.c
+3
-3
drivers/media/rc/keymaps/rc-manli.c
drivers/media/rc/keymaps/rc-manli.c
+3
-3
drivers/media/rc/keymaps/rc-msi-digivox-ii.c
drivers/media/rc/keymaps/rc-msi-digivox-ii.c
+3
-3
drivers/media/rc/keymaps/rc-msi-digivox-iii.c
drivers/media/rc/keymaps/rc-msi-digivox-iii.c
+3
-3
drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c
drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c
+3
-3
drivers/media/rc/keymaps/rc-msi-tvanywhere.c
drivers/media/rc/keymaps/rc-msi-tvanywhere.c
+3
-3
drivers/media/rc/keymaps/rc-nebula.c
drivers/media/rc/keymaps/rc-nebula.c
+3
-3
drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.c
drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.c
+3
-3
drivers/media/rc/keymaps/rc-norwood.c
drivers/media/rc/keymaps/rc-norwood.c
+3
-3
drivers/media/rc/keymaps/rc-npgtech.c
drivers/media/rc/keymaps/rc-npgtech.c
+3
-3
drivers/media/rc/keymaps/rc-pctv-sedna.c
drivers/media/rc/keymaps/rc-pctv-sedna.c
+3
-3
drivers/media/rc/keymaps/rc-pinnacle-color.c
drivers/media/rc/keymaps/rc-pinnacle-color.c
+3
-3
drivers/media/rc/keymaps/rc-pinnacle-grey.c
drivers/media/rc/keymaps/rc-pinnacle-grey.c
+3
-3
drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c
drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c
+3
-3
drivers/media/rc/keymaps/rc-pixelview-mk12.c
drivers/media/rc/keymaps/rc-pixelview-mk12.c
+3
-3
drivers/media/rc/keymaps/rc-pixelview-new.c
drivers/media/rc/keymaps/rc-pixelview-new.c
+3
-3
drivers/media/rc/keymaps/rc-pixelview.c
drivers/media/rc/keymaps/rc-pixelview.c
+3
-3
drivers/media/rc/keymaps/rc-powercolor-real-angel.c
drivers/media/rc/keymaps/rc-powercolor-real-angel.c
+3
-3
drivers/media/rc/keymaps/rc-proteus-2309.c
drivers/media/rc/keymaps/rc-proteus-2309.c
+3
-3
drivers/media/rc/keymaps/rc-purpletv.c
drivers/media/rc/keymaps/rc-purpletv.c
+3
-3
drivers/media/rc/keymaps/rc-pv951.c
drivers/media/rc/keymaps/rc-pv951.c
+3
-3
drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
+3
-3
drivers/media/rc/keymaps/rc-rc5-tv.c
drivers/media/rc/keymaps/rc-rc5-tv.c
+3
-3
drivers/media/rc/keymaps/rc-rc6-mce.c
drivers/media/rc/keymaps/rc-rc6-mce.c
+3
-3
drivers/media/rc/keymaps/rc-real-audio-220-32-keys.c
drivers/media/rc/keymaps/rc-real-audio-220-32-keys.c
+3
-3
drivers/media/rc/keymaps/rc-streamzap.c
drivers/media/rc/keymaps/rc-streamzap.c
+3
-3
drivers/media/rc/keymaps/rc-tbs-nec.c
drivers/media/rc/keymaps/rc-tbs-nec.c
+3
-3
drivers/media/rc/keymaps/rc-terratec-cinergy-xs.c
drivers/media/rc/keymaps/rc-terratec-cinergy-xs.c
+3
-3
drivers/media/rc/keymaps/rc-terratec-slim.c
drivers/media/rc/keymaps/rc-terratec-slim.c
+3
-3
drivers/media/rc/keymaps/rc-tevii-nec.c
drivers/media/rc/keymaps/rc-tevii-nec.c
+3
-3
drivers/media/rc/keymaps/rc-total-media-in-hand.c
drivers/media/rc/keymaps/rc-total-media-in-hand.c
+3
-3
drivers/media/rc/keymaps/rc-trekstor.c
drivers/media/rc/keymaps/rc-trekstor.c
+3
-3
drivers/media/rc/keymaps/rc-tt-1500.c
drivers/media/rc/keymaps/rc-tt-1500.c
+3
-3
drivers/media/rc/keymaps/rc-twinhan1027.c
drivers/media/rc/keymaps/rc-twinhan1027.c
+3
-3
drivers/media/rc/keymaps/rc-videomate-s350.c
drivers/media/rc/keymaps/rc-videomate-s350.c
+3
-3
drivers/media/rc/keymaps/rc-videomate-tv-pvr.c
drivers/media/rc/keymaps/rc-videomate-tv-pvr.c
+3
-3
drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.c
drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.c
+3
-3
drivers/media/rc/keymaps/rc-winfast.c
drivers/media/rc/keymaps/rc-winfast.c
+3
-3
drivers/media/rc/rc-main.c
drivers/media/rc/rc-main.c
+14
-14
include/media/rc-map.h
include/media/rc-map.h
+4
-4
未找到文件。
drivers/media/dvb/mantis/mantis_input.c
浏览文件 @
d100e659
...
...
@@ -95,7 +95,7 @@ static struct rc_map_table mantis_ir_table[] = {
{
0x00
,
KEY_BLUE
},
};
static
struct
rc_
keymap
ir_mantis_map
=
{
static
struct
rc_
map_list
ir_mantis_map
=
{
.
map
=
{
.
scan
=
mantis_ir_table
,
.
size
=
ARRAY_SIZE
(
mantis_ir_table
),
...
...
@@ -109,7 +109,7 @@ int mantis_input_init(struct mantis_pci *mantis)
struct
rc_dev
*
dev
;
int
err
;
err
=
ir_register_map
(
&
ir_mantis_map
);
err
=
rc_map_register
(
&
ir_mantis_map
);
if
(
err
)
goto
out
;
...
...
@@ -145,7 +145,7 @@ int mantis_input_init(struct mantis_pci *mantis)
out_dev:
rc_free_device
(
dev
);
out_map:
ir_unregister_map
(
&
ir_mantis_map
);
rc_map_unregister
(
&
ir_mantis_map
);
out:
return
err
;
}
...
...
@@ -153,7 +153,7 @@ int mantis_input_init(struct mantis_pci *mantis)
int
mantis_exit
(
struct
mantis_pci
*
mantis
)
{
rc_unregister_device
(
mantis
->
rc
);
ir_unregister_map
(
&
ir_mantis_map
);
rc_map_unregister
(
&
ir_mantis_map
);
return
0
;
}
drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c
浏览文件 @
d100e659
...
...
@@ -63,7 +63,7 @@ static struct rc_map_table adstech_dvb_t_pci[] = {
{
0x1c
,
KEY_VOLUMEDOWN
},
};
static
struct
rc_
keymap
adstech_dvb_t_pci_map
=
{
static
struct
rc_
map_list
adstech_dvb_t_pci_map
=
{
.
map
=
{
.
scan
=
adstech_dvb_t_pci
,
.
size
=
ARRAY_SIZE
(
adstech_dvb_t_pci
),
...
...
@@ -74,12 +74,12 @@ static struct rc_keymap adstech_dvb_t_pci_map = {
static
int
__init
init_rc_map_adstech_dvb_t_pci
(
void
)
{
return
ir_register_map
(
&
adstech_dvb_t_pci_map
);
return
rc_map_register
(
&
adstech_dvb_t_pci_map
);
}
static
void
__exit
exit_rc_map_adstech_dvb_t_pci
(
void
)
{
ir_unregister_map
(
&
adstech_dvb_t_pci_map
);
rc_map_unregister
(
&
adstech_dvb_t_pci_map
);
}
module_init
(
init_rc_map_adstech_dvb_t_pci
)
...
...
drivers/media/rc/keymaps/rc-alink-dtu-m.c
浏览文件 @
d100e659
...
...
@@ -42,7 +42,7 @@ static struct rc_map_table alink_dtu_m[] = {
{
0x081d
,
KEY_CHANNELDOWN
},
};
static
struct
rc_
keymap
alink_dtu_m_map
=
{
static
struct
rc_
map_list
alink_dtu_m_map
=
{
.
map
=
{
.
scan
=
alink_dtu_m
,
.
size
=
ARRAY_SIZE
(
alink_dtu_m
),
...
...
@@ -53,12 +53,12 @@ static struct rc_keymap alink_dtu_m_map = {
static
int
__init
init_rc_map_alink_dtu_m
(
void
)
{
return
ir_register_map
(
&
alink_dtu_m_map
);
return
rc_map_register
(
&
alink_dtu_m_map
);
}
static
void
__exit
exit_rc_map_alink_dtu_m
(
void
)
{
ir_unregister_map
(
&
alink_dtu_m_map
);
rc_map_unregister
(
&
alink_dtu_m_map
);
}
module_init
(
init_rc_map_alink_dtu_m
)
...
...
drivers/media/rc/keymaps/rc-anysee.c
浏览文件 @
d100e659
...
...
@@ -67,7 +67,7 @@ static struct rc_map_table anysee[] = {
{
0x0851
,
KEY_PAUSE
},
};
static
struct
rc_
keymap
anysee_map
=
{
static
struct
rc_
map_list
anysee_map
=
{
.
map
=
{
.
scan
=
anysee
,
.
size
=
ARRAY_SIZE
(
anysee
),
...
...
@@ -78,12 +78,12 @@ static struct rc_keymap anysee_map = {
static
int
__init
init_rc_map_anysee
(
void
)
{
return
ir_register_map
(
&
anysee_map
);
return
rc_map_register
(
&
anysee_map
);
}
static
void
__exit
exit_rc_map_anysee
(
void
)
{
ir_unregister_map
(
&
anysee_map
);
rc_map_unregister
(
&
anysee_map
);
}
module_init
(
init_rc_map_anysee
)
...
...
drivers/media/rc/keymaps/rc-apac-viewcomp.c
浏览文件 @
d100e659
...
...
@@ -54,7 +54,7 @@ static struct rc_map_table apac_viewcomp[] = {
{
0x18
,
KEY_KPMINUS
},
/* fine tune <<<< */
};
static
struct
rc_
keymap
apac_viewcomp_map
=
{
static
struct
rc_
map_list
apac_viewcomp_map
=
{
.
map
=
{
.
scan
=
apac_viewcomp
,
.
size
=
ARRAY_SIZE
(
apac_viewcomp
),
...
...
@@ -65,12 +65,12 @@ static struct rc_keymap apac_viewcomp_map = {
static
int
__init
init_rc_map_apac_viewcomp
(
void
)
{
return
ir_register_map
(
&
apac_viewcomp_map
);
return
rc_map_register
(
&
apac_viewcomp_map
);
}
static
void
__exit
exit_rc_map_apac_viewcomp
(
void
)
{
ir_unregister_map
(
&
apac_viewcomp_map
);
rc_map_unregister
(
&
apac_viewcomp_map
);
}
module_init
(
init_rc_map_apac_viewcomp
)
...
...
drivers/media/rc/keymaps/rc-asus-pc39.c
浏览文件 @
d100e659
...
...
@@ -65,7 +65,7 @@ static struct rc_map_table asus_pc39[] = {
{
0x083e
,
KEY_DVD
},
/* dvd */
};
static
struct
rc_
keymap
asus_pc39_map
=
{
static
struct
rc_
map_list
asus_pc39_map
=
{
.
map
=
{
.
scan
=
asus_pc39
,
.
size
=
ARRAY_SIZE
(
asus_pc39
),
...
...
@@ -76,12 +76,12 @@ static struct rc_keymap asus_pc39_map = {
static
int
__init
init_rc_map_asus_pc39
(
void
)
{
return
ir_register_map
(
&
asus_pc39_map
);
return
rc_map_register
(
&
asus_pc39_map
);
}
static
void
__exit
exit_rc_map_asus_pc39
(
void
)
{
ir_unregister_map
(
&
asus_pc39_map
);
rc_map_unregister
(
&
asus_pc39_map
);
}
module_init
(
init_rc_map_asus_pc39
)
...
...
drivers/media/rc/keymaps/rc-ati-tv-wonder-hd-600.c
浏览文件 @
d100e659
...
...
@@ -43,7 +43,7 @@ static struct rc_map_table ati_tv_wonder_hd_600[] = {
{
0x17
,
KEY_VOLUMEDOWN
},
};
static
struct
rc_
keymap
ati_tv_wonder_hd_600_map
=
{
static
struct
rc_
map_list
ati_tv_wonder_hd_600_map
=
{
.
map
=
{
.
scan
=
ati_tv_wonder_hd_600
,
.
size
=
ARRAY_SIZE
(
ati_tv_wonder_hd_600
),
...
...
@@ -54,12 +54,12 @@ static struct rc_keymap ati_tv_wonder_hd_600_map = {
static
int
__init
init_rc_map_ati_tv_wonder_hd_600
(
void
)
{
return
ir_register_map
(
&
ati_tv_wonder_hd_600_map
);
return
rc_map_register
(
&
ati_tv_wonder_hd_600_map
);
}
static
void
__exit
exit_rc_map_ati_tv_wonder_hd_600
(
void
)
{
ir_unregister_map
(
&
ati_tv_wonder_hd_600_map
);
rc_map_unregister
(
&
ati_tv_wonder_hd_600_map
);
}
module_init
(
init_rc_map_ati_tv_wonder_hd_600
)
...
...
drivers/media/rc/keymaps/rc-avermedia-a16d.c
浏览文件 @
d100e659
...
...
@@ -49,7 +49,7 @@ static struct rc_map_table avermedia_a16d[] = {
{
0x2a
,
KEY_MENU
},
};
static
struct
rc_
keymap
avermedia_a16d_map
=
{
static
struct
rc_
map_list
avermedia_a16d_map
=
{
.
map
=
{
.
scan
=
avermedia_a16d
,
.
size
=
ARRAY_SIZE
(
avermedia_a16d
),
...
...
@@ -60,12 +60,12 @@ static struct rc_keymap avermedia_a16d_map = {
static
int
__init
init_rc_map_avermedia_a16d
(
void
)
{
return
ir_register_map
(
&
avermedia_a16d_map
);
return
rc_map_register
(
&
avermedia_a16d_map
);
}
static
void
__exit
exit_rc_map_avermedia_a16d
(
void
)
{
ir_unregister_map
(
&
avermedia_a16d_map
);
rc_map_unregister
(
&
avermedia_a16d_map
);
}
module_init
(
init_rc_map_avermedia_a16d
)
...
...
drivers/media/rc/keymaps/rc-avermedia-cardbus.c
浏览文件 @
d100e659
...
...
@@ -71,7 +71,7 @@ static struct rc_map_table avermedia_cardbus[] = {
{
0x43
,
KEY_CHANNELUP
},
/* Channel up */
};
static
struct
rc_
keymap
avermedia_cardbus_map
=
{
static
struct
rc_
map_list
avermedia_cardbus_map
=
{
.
map
=
{
.
scan
=
avermedia_cardbus
,
.
size
=
ARRAY_SIZE
(
avermedia_cardbus
),
...
...
@@ -82,12 +82,12 @@ static struct rc_keymap avermedia_cardbus_map = {
static
int
__init
init_rc_map_avermedia_cardbus
(
void
)
{
return
ir_register_map
(
&
avermedia_cardbus_map
);
return
rc_map_register
(
&
avermedia_cardbus_map
);
}
static
void
__exit
exit_rc_map_avermedia_cardbus
(
void
)
{
ir_unregister_map
(
&
avermedia_cardbus_map
);
rc_map_unregister
(
&
avermedia_cardbus_map
);
}
module_init
(
init_rc_map_avermedia_cardbus
)
...
...
drivers/media/rc/keymaps/rc-avermedia-dvbt.c
浏览文件 @
d100e659
...
...
@@ -52,7 +52,7 @@ static struct rc_map_table avermedia_dvbt[] = {
{
0x3e
,
KEY_VOLUMEUP
},
/* 'volume +' */
};
static
struct
rc_
keymap
avermedia_dvbt_map
=
{
static
struct
rc_
map_list
avermedia_dvbt_map
=
{
.
map
=
{
.
scan
=
avermedia_dvbt
,
.
size
=
ARRAY_SIZE
(
avermedia_dvbt
),
...
...
@@ -63,12 +63,12 @@ static struct rc_keymap avermedia_dvbt_map = {
static
int
__init
init_rc_map_avermedia_dvbt
(
void
)
{
return
ir_register_map
(
&
avermedia_dvbt_map
);
return
rc_map_register
(
&
avermedia_dvbt_map
);
}
static
void
__exit
exit_rc_map_avermedia_dvbt
(
void
)
{
ir_unregister_map
(
&
avermedia_dvbt_map
);
rc_map_unregister
(
&
avermedia_dvbt_map
);
}
module_init
(
init_rc_map_avermedia_dvbt
)
...
...
drivers/media/rc/keymaps/rc-avermedia-m135a.c
浏览文件 @
d100e659
...
...
@@ -121,7 +121,7 @@ static struct rc_map_table avermedia_m135a[] = {
{
0x041e
,
KEY_NEXT
},
};
static
struct
rc_
keymap
avermedia_m135a_map
=
{
static
struct
rc_
map_list
avermedia_m135a_map
=
{
.
map
=
{
.
scan
=
avermedia_m135a
,
.
size
=
ARRAY_SIZE
(
avermedia_m135a
),
...
...
@@ -132,12 +132,12 @@ static struct rc_keymap avermedia_m135a_map = {
static
int
__init
init_rc_map_avermedia_m135a
(
void
)
{
return
ir_register_map
(
&
avermedia_m135a_map
);
return
rc_map_register
(
&
avermedia_m135a_map
);
}
static
void
__exit
exit_rc_map_avermedia_m135a
(
void
)
{
ir_unregister_map
(
&
avermedia_m135a_map
);
rc_map_unregister
(
&
avermedia_m135a_map
);
}
module_init
(
init_rc_map_avermedia_m135a
)
...
...
drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c
浏览文件 @
d100e659
...
...
@@ -69,7 +69,7 @@ static struct rc_map_table avermedia_m733a_rm_k6[] = {
{
0x041e
,
KEY_NEXT
},
};
static
struct
rc_
keymap
avermedia_m733a_rm_k6_map
=
{
static
struct
rc_
map_list
avermedia_m733a_rm_k6_map
=
{
.
map
=
{
.
scan
=
avermedia_m733a_rm_k6
,
.
size
=
ARRAY_SIZE
(
avermedia_m733a_rm_k6
),
...
...
@@ -80,12 +80,12 @@ static struct rc_keymap avermedia_m733a_rm_k6_map = {
static
int
__init
init_rc_map_avermedia_m733a_rm_k6
(
void
)
{
return
ir_register_map
(
&
avermedia_m733a_rm_k6_map
);
return
rc_map_register
(
&
avermedia_m733a_rm_k6_map
);
}
static
void
__exit
exit_rc_map_avermedia_m733a_rm_k6
(
void
)
{
ir_unregister_map
(
&
avermedia_m733a_rm_k6_map
);
rc_map_unregister
(
&
avermedia_m733a_rm_k6_map
);
}
module_init
(
init_rc_map_avermedia_m733a_rm_k6
)
...
...
drivers/media/rc/keymaps/rc-avermedia-rm-ks.c
浏览文件 @
d100e659
...
...
@@ -53,7 +53,7 @@ static struct rc_map_table avermedia_rm_ks[] = {
{
0x0556
,
KEY_ZOOM
},
};
static
struct
rc_
keymap
avermedia_rm_ks_map
=
{
static
struct
rc_
map_list
avermedia_rm_ks_map
=
{
.
map
=
{
.
scan
=
avermedia_rm_ks
,
.
size
=
ARRAY_SIZE
(
avermedia_rm_ks
),
...
...
@@ -64,12 +64,12 @@ static struct rc_keymap avermedia_rm_ks_map = {
static
int
__init
init_rc_map_avermedia_rm_ks
(
void
)
{
return
ir_register_map
(
&
avermedia_rm_ks_map
);
return
rc_map_register
(
&
avermedia_rm_ks_map
);
}
static
void
__exit
exit_rc_map_avermedia_rm_ks
(
void
)
{
ir_unregister_map
(
&
avermedia_rm_ks_map
);
rc_map_unregister
(
&
avermedia_rm_ks_map
);
}
module_init
(
init_rc_map_avermedia_rm_ks
)
...
...
drivers/media/rc/keymaps/rc-avermedia.c
浏览文件 @
d100e659
...
...
@@ -60,7 +60,7 @@ static struct rc_map_table avermedia[] = {
{
0x31
,
KEY_CHANNELUP
}
/* CHANNEL/PAGE+ */
};
static
struct
rc_
keymap
avermedia_map
=
{
static
struct
rc_
map_list
avermedia_map
=
{
.
map
=
{
.
scan
=
avermedia
,
.
size
=
ARRAY_SIZE
(
avermedia
),
...
...
@@ -71,12 +71,12 @@ static struct rc_keymap avermedia_map = {
static
int
__init
init_rc_map_avermedia
(
void
)
{
return
ir_register_map
(
&
avermedia_map
);
return
rc_map_register
(
&
avermedia_map
);
}
static
void
__exit
exit_rc_map_avermedia
(
void
)
{
ir_unregister_map
(
&
avermedia_map
);
rc_map_unregister
(
&
avermedia_map
);
}
module_init
(
init_rc_map_avermedia
)
...
...
drivers/media/rc/keymaps/rc-avertv-303.c
浏览文件 @
d100e659
...
...
@@ -59,7 +59,7 @@ static struct rc_map_table avertv_303[] = {
{
0x1b
,
KEY_UP
},
};
static
struct
rc_
keymap
avertv_303_map
=
{
static
struct
rc_
map_list
avertv_303_map
=
{
.
map
=
{
.
scan
=
avertv_303
,
.
size
=
ARRAY_SIZE
(
avertv_303
),
...
...
@@ -70,12 +70,12 @@ static struct rc_keymap avertv_303_map = {
static
int
__init
init_rc_map_avertv_303
(
void
)
{
return
ir_register_map
(
&
avertv_303_map
);
return
rc_map_register
(
&
avertv_303_map
);
}
static
void
__exit
exit_rc_map_avertv_303
(
void
)
{
ir_unregister_map
(
&
avertv_303_map
);
rc_map_unregister
(
&
avertv_303_map
);
}
module_init
(
init_rc_map_avertv_303
)
...
...
drivers/media/rc/keymaps/rc-azurewave-ad-tu700.c
浏览文件 @
d100e659
...
...
@@ -76,7 +76,7 @@ static struct rc_map_table azurewave_ad_tu700[] = {
{
0x005f
,
KEY_BLUE
},
};
static
struct
rc_
keymap
azurewave_ad_tu700_map
=
{
static
struct
rc_
map_list
azurewave_ad_tu700_map
=
{
.
map
=
{
.
scan
=
azurewave_ad_tu700
,
.
size
=
ARRAY_SIZE
(
azurewave_ad_tu700
),
...
...
@@ -87,12 +87,12 @@ static struct rc_keymap azurewave_ad_tu700_map = {
static
int
__init
init_rc_map_azurewave_ad_tu700
(
void
)
{
return
ir_register_map
(
&
azurewave_ad_tu700_map
);
return
rc_map_register
(
&
azurewave_ad_tu700_map
);
}
static
void
__exit
exit_rc_map_azurewave_ad_tu700
(
void
)
{
ir_unregister_map
(
&
azurewave_ad_tu700_map
);
rc_map_unregister
(
&
azurewave_ad_tu700_map
);
}
module_init
(
init_rc_map_azurewave_ad_tu700
)
...
...
drivers/media/rc/keymaps/rc-behold-columbus.c
浏览文件 @
d100e659
...
...
@@ -82,7 +82,7 @@ static struct rc_map_table behold_columbus[] = {
};
static
struct
rc_
keymap
behold_columbus_map
=
{
static
struct
rc_
map_list
behold_columbus_map
=
{
.
map
=
{
.
scan
=
behold_columbus
,
.
size
=
ARRAY_SIZE
(
behold_columbus
),
...
...
@@ -93,12 +93,12 @@ static struct rc_keymap behold_columbus_map = {
static
int
__init
init_rc_map_behold_columbus
(
void
)
{
return
ir_register_map
(
&
behold_columbus_map
);
return
rc_map_register
(
&
behold_columbus_map
);
}
static
void
__exit
exit_rc_map_behold_columbus
(
void
)
{
ir_unregister_map
(
&
behold_columbus_map
);
rc_map_unregister
(
&
behold_columbus_map
);
}
module_init
(
init_rc_map_behold_columbus
)
...
...
drivers/media/rc/keymaps/rc-behold.c
浏览文件 @
d100e659
...
...
@@ -115,7 +115,7 @@ static struct rc_map_table behold[] = {
};
static
struct
rc_
keymap
behold_map
=
{
static
struct
rc_
map_list
behold_map
=
{
.
map
=
{
.
scan
=
behold
,
.
size
=
ARRAY_SIZE
(
behold
),
...
...
@@ -126,12 +126,12 @@ static struct rc_keymap behold_map = {
static
int
__init
init_rc_map_behold
(
void
)
{
return
ir_register_map
(
&
behold_map
);
return
rc_map_register
(
&
behold_map
);
}
static
void
__exit
exit_rc_map_behold
(
void
)
{
ir_unregister_map
(
&
behold_map
);
rc_map_unregister
(
&
behold_map
);
}
module_init
(
init_rc_map_behold
)
...
...
drivers/media/rc/keymaps/rc-budget-ci-old.c
浏览文件 @
d100e659
...
...
@@ -66,7 +66,7 @@ static struct rc_map_table budget_ci_old[] = {
{
0x3e
,
KEY_TUNER
},
};
static
struct
rc_
keymap
budget_ci_old_map
=
{
static
struct
rc_
map_list
budget_ci_old_map
=
{
.
map
=
{
.
scan
=
budget_ci_old
,
.
size
=
ARRAY_SIZE
(
budget_ci_old
),
...
...
@@ -77,12 +77,12 @@ static struct rc_keymap budget_ci_old_map = {
static
int
__init
init_rc_map_budget_ci_old
(
void
)
{
return
ir_register_map
(
&
budget_ci_old_map
);
return
rc_map_register
(
&
budget_ci_old_map
);
}
static
void
__exit
exit_rc_map_budget_ci_old
(
void
)
{
ir_unregister_map
(
&
budget_ci_old_map
);
rc_map_unregister
(
&
budget_ci_old_map
);
}
module_init
(
init_rc_map_budget_ci_old
)
...
...
drivers/media/rc/keymaps/rc-cinergy-1400.c
浏览文件 @
d100e659
...
...
@@ -58,7 +58,7 @@ static struct rc_map_table cinergy_1400[] = {
{
0x5c
,
KEY_NEXT
},
};
static
struct
rc_
keymap
cinergy_1400_map
=
{
static
struct
rc_
map_list
cinergy_1400_map
=
{
.
map
=
{
.
scan
=
cinergy_1400
,
.
size
=
ARRAY_SIZE
(
cinergy_1400
),
...
...
@@ -69,12 +69,12 @@ static struct rc_keymap cinergy_1400_map = {
static
int
__init
init_rc_map_cinergy_1400
(
void
)
{
return
ir_register_map
(
&
cinergy_1400_map
);
return
rc_map_register
(
&
cinergy_1400_map
);
}
static
void
__exit
exit_rc_map_cinergy_1400
(
void
)
{
ir_unregister_map
(
&
cinergy_1400_map
);
rc_map_unregister
(
&
cinergy_1400_map
);
}
module_init
(
init_rc_map_cinergy_1400
)
...
...
drivers/media/rc/keymaps/rc-cinergy.c
浏览文件 @
d100e659
...
...
@@ -52,7 +52,7 @@ static struct rc_map_table cinergy[] = {
{
0x23
,
KEY_STOP
},
};
static
struct
rc_
keymap
cinergy_map
=
{
static
struct
rc_
map_list
cinergy_map
=
{
.
map
=
{
.
scan
=
cinergy
,
.
size
=
ARRAY_SIZE
(
cinergy
),
...
...
@@ -63,12 +63,12 @@ static struct rc_keymap cinergy_map = {
static
int
__init
init_rc_map_cinergy
(
void
)
{
return
ir_register_map
(
&
cinergy_map
);
return
rc_map_register
(
&
cinergy_map
);
}
static
void
__exit
exit_rc_map_cinergy
(
void
)
{
ir_unregister_map
(
&
cinergy_map
);
rc_map_unregister
(
&
cinergy_map
);
}
module_init
(
init_rc_map_cinergy
)
...
...
drivers/media/rc/keymaps/rc-dib0700-nec.c
浏览文件 @
d100e659
...
...
@@ -98,7 +98,7 @@ static struct rc_map_table dib0700_nec_table[] = {
{
0x4542
,
KEY_SELECT
},
/* Select video input, 'Select' for Teletext */
};
static
struct
rc_
keymap
dib0700_nec_map
=
{
static
struct
rc_
map_list
dib0700_nec_map
=
{
.
map
=
{
.
scan
=
dib0700_nec_table
,
.
size
=
ARRAY_SIZE
(
dib0700_nec_table
),
...
...
@@ -109,12 +109,12 @@ static struct rc_keymap dib0700_nec_map = {
static
int
__init
init_rc_map
(
void
)
{
return
ir_register_map
(
&
dib0700_nec_map
);
return
rc_map_register
(
&
dib0700_nec_map
);
}
static
void
__exit
exit_rc_map
(
void
)
{
ir_unregister_map
(
&
dib0700_nec_map
);
rc_map_unregister
(
&
dib0700_nec_map
);
}
module_init
(
init_rc_map
)
...
...
drivers/media/rc/keymaps/rc-dib0700-rc5.c
浏览文件 @
d100e659
...
...
@@ -209,7 +209,7 @@ static struct rc_map_table dib0700_rc5_table[] = {
{
0x1d3d
,
KEY_POWER
},
};
static
struct
rc_
keymap
dib0700_rc5_map
=
{
static
struct
rc_
map_list
dib0700_rc5_map
=
{
.
map
=
{
.
scan
=
dib0700_rc5_table
,
.
size
=
ARRAY_SIZE
(
dib0700_rc5_table
),
...
...
@@ -220,12 +220,12 @@ static struct rc_keymap dib0700_rc5_map = {
static
int
__init
init_rc_map
(
void
)
{
return
ir_register_map
(
&
dib0700_rc5_map
);
return
rc_map_register
(
&
dib0700_rc5_map
);
}
static
void
__exit
exit_rc_map
(
void
)
{
ir_unregister_map
(
&
dib0700_rc5_map
);
rc_map_unregister
(
&
dib0700_rc5_map
);
}
module_init
(
init_rc_map
)
...
...
drivers/media/rc/keymaps/rc-digitalnow-tinytwin.c
浏览文件 @
d100e659
...
...
@@ -72,7 +72,7 @@ static struct rc_map_table digitalnow_tinytwin[] = {
{
0x005a
,
KEY_PREVIOUS
},
/* REPLAY */
};
static
struct
rc_
keymap
digitalnow_tinytwin_map
=
{
static
struct
rc_
map_list
digitalnow_tinytwin_map
=
{
.
map
=
{
.
scan
=
digitalnow_tinytwin
,
.
size
=
ARRAY_SIZE
(
digitalnow_tinytwin
),
...
...
@@ -83,12 +83,12 @@ static struct rc_keymap digitalnow_tinytwin_map = {
static
int
__init
init_rc_map_digitalnow_tinytwin
(
void
)
{
return
ir_register_map
(
&
digitalnow_tinytwin_map
);
return
rc_map_register
(
&
digitalnow_tinytwin_map
);
}
static
void
__exit
exit_rc_map_digitalnow_tinytwin
(
void
)
{
ir_unregister_map
(
&
digitalnow_tinytwin_map
);
rc_map_unregister
(
&
digitalnow_tinytwin_map
);
}
module_init
(
init_rc_map_digitalnow_tinytwin
)
...
...
drivers/media/rc/keymaps/rc-digittrade.c
浏览文件 @
d100e659
...
...
@@ -56,7 +56,7 @@ static struct rc_map_table digittrade[] = {
{
0x0054
,
KEY_0
},
};
static
struct
rc_
keymap
digittrade_map
=
{
static
struct
rc_
map_list
digittrade_map
=
{
.
map
=
{
.
scan
=
digittrade
,
.
size
=
ARRAY_SIZE
(
digittrade
),
...
...
@@ -67,12 +67,12 @@ static struct rc_keymap digittrade_map = {
static
int
__init
init_rc_map_digittrade
(
void
)
{
return
ir_register_map
(
&
digittrade_map
);
return
rc_map_register
(
&
digittrade_map
);
}
static
void
__exit
exit_rc_map_digittrade
(
void
)
{
ir_unregister_map
(
&
digittrade_map
);
rc_map_unregister
(
&
digittrade_map
);
}
module_init
(
init_rc_map_digittrade
)
...
...
drivers/media/rc/keymaps/rc-dm1105-nec.c
浏览文件 @
d100e659
...
...
@@ -50,7 +50,7 @@ static struct rc_map_table dm1105_nec[] = {
{
0x1b
,
KEY_B
},
/* recall */
};
static
struct
rc_
keymap
dm1105_nec_map
=
{
static
struct
rc_
map_list
dm1105_nec_map
=
{
.
map
=
{
.
scan
=
dm1105_nec
,
.
size
=
ARRAY_SIZE
(
dm1105_nec
),
...
...
@@ -61,12 +61,12 @@ static struct rc_keymap dm1105_nec_map = {
static
int
__init
init_rc_map_dm1105_nec
(
void
)
{
return
ir_register_map
(
&
dm1105_nec_map
);
return
rc_map_register
(
&
dm1105_nec_map
);
}
static
void
__exit
exit_rc_map_dm1105_nec
(
void
)
{
ir_unregister_map
(
&
dm1105_nec_map
);
rc_map_unregister
(
&
dm1105_nec_map
);
}
module_init
(
init_rc_map_dm1105_nec
)
...
...
drivers/media/rc/keymaps/rc-dntv-live-dvb-t.c
浏览文件 @
d100e659
...
...
@@ -52,7 +52,7 @@ static struct rc_map_table dntv_live_dvb_t[] = {
{
0x1f
,
KEY_VOLUMEDOWN
},
};
static
struct
rc_
keymap
dntv_live_dvb_t_map
=
{
static
struct
rc_
map_list
dntv_live_dvb_t_map
=
{
.
map
=
{
.
scan
=
dntv_live_dvb_t
,
.
size
=
ARRAY_SIZE
(
dntv_live_dvb_t
),
...
...
@@ -63,12 +63,12 @@ static struct rc_keymap dntv_live_dvb_t_map = {
static
int
__init
init_rc_map_dntv_live_dvb_t
(
void
)
{
return
ir_register_map
(
&
dntv_live_dvb_t_map
);
return
rc_map_register
(
&
dntv_live_dvb_t_map
);
}
static
void
__exit
exit_rc_map_dntv_live_dvb_t
(
void
)
{
ir_unregister_map
(
&
dntv_live_dvb_t_map
);
rc_map_unregister
(
&
dntv_live_dvb_t_map
);
}
module_init
(
init_rc_map_dntv_live_dvb_t
)
...
...
drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c
浏览文件 @
d100e659
...
...
@@ -71,7 +71,7 @@ static struct rc_map_table dntv_live_dvbt_pro[] = {
{
0x5d
,
KEY_BLUE
},
};
static
struct
rc_
keymap
dntv_live_dvbt_pro_map
=
{
static
struct
rc_
map_list
dntv_live_dvbt_pro_map
=
{
.
map
=
{
.
scan
=
dntv_live_dvbt_pro
,
.
size
=
ARRAY_SIZE
(
dntv_live_dvbt_pro
),
...
...
@@ -82,12 +82,12 @@ static struct rc_keymap dntv_live_dvbt_pro_map = {
static
int
__init
init_rc_map_dntv_live_dvbt_pro
(
void
)
{
return
ir_register_map
(
&
dntv_live_dvbt_pro_map
);
return
rc_map_register
(
&
dntv_live_dvbt_pro_map
);
}
static
void
__exit
exit_rc_map_dntv_live_dvbt_pro
(
void
)
{
ir_unregister_map
(
&
dntv_live_dvbt_pro_map
);
rc_map_unregister
(
&
dntv_live_dvbt_pro_map
);
}
module_init
(
init_rc_map_dntv_live_dvbt_pro
)
...
...
drivers/media/rc/keymaps/rc-em-terratec.c
浏览文件 @
d100e659
...
...
@@ -43,7 +43,7 @@ static struct rc_map_table em_terratec[] = {
{
0x40
,
KEY_ZOOM
},
};
static
struct
rc_
keymap
em_terratec_map
=
{
static
struct
rc_
map_list
em_terratec_map
=
{
.
map
=
{
.
scan
=
em_terratec
,
.
size
=
ARRAY_SIZE
(
em_terratec
),
...
...
@@ -54,12 +54,12 @@ static struct rc_keymap em_terratec_map = {
static
int
__init
init_rc_map_em_terratec
(
void
)
{
return
ir_register_map
(
&
em_terratec_map
);
return
rc_map_register
(
&
em_terratec_map
);
}
static
void
__exit
exit_rc_map_em_terratec
(
void
)
{
ir_unregister_map
(
&
em_terratec_map
);
rc_map_unregister
(
&
em_terratec_map
);
}
module_init
(
init_rc_map_em_terratec
)
...
...
drivers/media/rc/keymaps/rc-encore-enltv-fm53.c
浏览文件 @
d100e659
...
...
@@ -55,7 +55,7 @@ static struct rc_map_table encore_enltv_fm53[] = {
{
0x47
,
KEY_SLEEP
},
/* shutdown */
};
static
struct
rc_
keymap
encore_enltv_fm53_map
=
{
static
struct
rc_
map_list
encore_enltv_fm53_map
=
{
.
map
=
{
.
scan
=
encore_enltv_fm53
,
.
size
=
ARRAY_SIZE
(
encore_enltv_fm53
),
...
...
@@ -66,12 +66,12 @@ static struct rc_keymap encore_enltv_fm53_map = {
static
int
__init
init_rc_map_encore_enltv_fm53
(
void
)
{
return
ir_register_map
(
&
encore_enltv_fm53_map
);
return
rc_map_register
(
&
encore_enltv_fm53_map
);
}
static
void
__exit
exit_rc_map_encore_enltv_fm53
(
void
)
{
ir_unregister_map
(
&
encore_enltv_fm53_map
);
rc_map_unregister
(
&
encore_enltv_fm53_map
);
}
module_init
(
init_rc_map_encore_enltv_fm53
)
...
...
drivers/media/rc/keymaps/rc-encore-enltv.c
浏览文件 @
d100e659
...
...
@@ -86,7 +86,7 @@ static struct rc_map_table encore_enltv[] = {
{
0x57
,
KEY_BLUE
},
/* AP4 */
};
static
struct
rc_
keymap
encore_enltv_map
=
{
static
struct
rc_
map_list
encore_enltv_map
=
{
.
map
=
{
.
scan
=
encore_enltv
,
.
size
=
ARRAY_SIZE
(
encore_enltv
),
...
...
@@ -97,12 +97,12 @@ static struct rc_keymap encore_enltv_map = {
static
int
__init
init_rc_map_encore_enltv
(
void
)
{
return
ir_register_map
(
&
encore_enltv_map
);
return
rc_map_register
(
&
encore_enltv_map
);
}
static
void
__exit
exit_rc_map_encore_enltv
(
void
)
{
ir_unregister_map
(
&
encore_enltv_map
);
rc_map_unregister
(
&
encore_enltv_map
);
}
module_init
(
init_rc_map_encore_enltv
)
...
...
drivers/media/rc/keymaps/rc-encore-enltv2.c
浏览文件 @
d100e659
...
...
@@ -64,7 +64,7 @@ static struct rc_map_table encore_enltv2[] = {
{
0x79
,
KEY_STOP
},
};
static
struct
rc_
keymap
encore_enltv2_map
=
{
static
struct
rc_
map_list
encore_enltv2_map
=
{
.
map
=
{
.
scan
=
encore_enltv2
,
.
size
=
ARRAY_SIZE
(
encore_enltv2
),
...
...
@@ -75,12 +75,12 @@ static struct rc_keymap encore_enltv2_map = {
static
int
__init
init_rc_map_encore_enltv2
(
void
)
{
return
ir_register_map
(
&
encore_enltv2_map
);
return
rc_map_register
(
&
encore_enltv2_map
);
}
static
void
__exit
exit_rc_map_encore_enltv2
(
void
)
{
ir_unregister_map
(
&
encore_enltv2_map
);
rc_map_unregister
(
&
encore_enltv2_map
);
}
module_init
(
init_rc_map_encore_enltv2
)
...
...
drivers/media/rc/keymaps/rc-evga-indtube.c
浏览文件 @
d100e659
...
...
@@ -35,7 +35,7 @@ static struct rc_map_table evga_indtube[] = {
{
0x13
,
KEY_CAMERA
},
};
static
struct
rc_
keymap
evga_indtube_map
=
{
static
struct
rc_
map_list
evga_indtube_map
=
{
.
map
=
{
.
scan
=
evga_indtube
,
.
size
=
ARRAY_SIZE
(
evga_indtube
),
...
...
@@ -46,12 +46,12 @@ static struct rc_keymap evga_indtube_map = {
static
int
__init
init_rc_map_evga_indtube
(
void
)
{
return
ir_register_map
(
&
evga_indtube_map
);
return
rc_map_register
(
&
evga_indtube_map
);
}
static
void
__exit
exit_rc_map_evga_indtube
(
void
)
{
ir_unregister_map
(
&
evga_indtube_map
);
rc_map_unregister
(
&
evga_indtube_map
);
}
module_init
(
init_rc_map_evga_indtube
)
...
...
drivers/media/rc/keymaps/rc-eztv.c
浏览文件 @
d100e659
...
...
@@ -70,7 +70,7 @@ static struct rc_map_table eztv[] = {
{
0x21
,
KEY_DOT
},
/* . (decimal dot) */
};
static
struct
rc_
keymap
eztv_map
=
{
static
struct
rc_
map_list
eztv_map
=
{
.
map
=
{
.
scan
=
eztv
,
.
size
=
ARRAY_SIZE
(
eztv
),
...
...
@@ -81,12 +81,12 @@ static struct rc_keymap eztv_map = {
static
int
__init
init_rc_map_eztv
(
void
)
{
return
ir_register_map
(
&
eztv_map
);
return
rc_map_register
(
&
eztv_map
);
}
static
void
__exit
exit_rc_map_eztv
(
void
)
{
ir_unregister_map
(
&
eztv_map
);
rc_map_unregister
(
&
eztv_map
);
}
module_init
(
init_rc_map_eztv
)
...
...
drivers/media/rc/keymaps/rc-flydvb.c
浏览文件 @
d100e659
...
...
@@ -51,7 +51,7 @@ static struct rc_map_table flydvb[] = {
{
0x0e
,
KEY_NEXT
},
/* End >>| */
};
static
struct
rc_
keymap
flydvb_map
=
{
static
struct
rc_
map_list
flydvb_map
=
{
.
map
=
{
.
scan
=
flydvb
,
.
size
=
ARRAY_SIZE
(
flydvb
),
...
...
@@ -62,12 +62,12 @@ static struct rc_keymap flydvb_map = {
static
int
__init
init_rc_map_flydvb
(
void
)
{
return
ir_register_map
(
&
flydvb_map
);
return
rc_map_register
(
&
flydvb_map
);
}
static
void
__exit
exit_rc_map_flydvb
(
void
)
{
ir_unregister_map
(
&
flydvb_map
);
rc_map_unregister
(
&
flydvb_map
);
}
module_init
(
init_rc_map_flydvb
)
...
...
drivers/media/rc/keymaps/rc-flyvideo.c
浏览文件 @
d100e659
...
...
@@ -44,7 +44,7 @@ static struct rc_map_table flyvideo[] = {
{
0x0a
,
KEY_ANGLE
},
/* no label, may be used as the PAUSE button */
};
static
struct
rc_
keymap
flyvideo_map
=
{
static
struct
rc_
map_list
flyvideo_map
=
{
.
map
=
{
.
scan
=
flyvideo
,
.
size
=
ARRAY_SIZE
(
flyvideo
),
...
...
@@ -55,12 +55,12 @@ static struct rc_keymap flyvideo_map = {
static
int
__init
init_rc_map_flyvideo
(
void
)
{
return
ir_register_map
(
&
flyvideo_map
);
return
rc_map_register
(
&
flyvideo_map
);
}
static
void
__exit
exit_rc_map_flyvideo
(
void
)
{
ir_unregister_map
(
&
flyvideo_map
);
rc_map_unregister
(
&
flyvideo_map
);
}
module_init
(
init_rc_map_flyvideo
)
...
...
drivers/media/rc/keymaps/rc-fusionhdtv-mce.c
浏览文件 @
d100e659
...
...
@@ -72,7 +72,7 @@ static struct rc_map_table fusionhdtv_mce[] = {
{
0x4e
,
KEY_POWER
},
};
static
struct
rc_
keymap
fusionhdtv_mce_map
=
{
static
struct
rc_
map_list
fusionhdtv_mce_map
=
{
.
map
=
{
.
scan
=
fusionhdtv_mce
,
.
size
=
ARRAY_SIZE
(
fusionhdtv_mce
),
...
...
@@ -83,12 +83,12 @@ static struct rc_keymap fusionhdtv_mce_map = {
static
int
__init
init_rc_map_fusionhdtv_mce
(
void
)
{
return
ir_register_map
(
&
fusionhdtv_mce_map
);
return
rc_map_register
(
&
fusionhdtv_mce_map
);
}
static
void
__exit
exit_rc_map_fusionhdtv_mce
(
void
)
{
ir_unregister_map
(
&
fusionhdtv_mce_map
);
rc_map_unregister
(
&
fusionhdtv_mce_map
);
}
module_init
(
init_rc_map_fusionhdtv_mce
)
...
...
drivers/media/rc/keymaps/rc-gadmei-rm008z.c
浏览文件 @
d100e659
...
...
@@ -55,7 +55,7 @@ static struct rc_map_table gadmei_rm008z[] = {
{
0x15
,
KEY_ENTER
},
/* OK */
};
static
struct
rc_
keymap
gadmei_rm008z_map
=
{
static
struct
rc_
map_list
gadmei_rm008z_map
=
{
.
map
=
{
.
scan
=
gadmei_rm008z
,
.
size
=
ARRAY_SIZE
(
gadmei_rm008z
),
...
...
@@ -66,12 +66,12 @@ static struct rc_keymap gadmei_rm008z_map = {
static
int
__init
init_rc_map_gadmei_rm008z
(
void
)
{
return
ir_register_map
(
&
gadmei_rm008z_map
);
return
rc_map_register
(
&
gadmei_rm008z_map
);
}
static
void
__exit
exit_rc_map_gadmei_rm008z
(
void
)
{
ir_unregister_map
(
&
gadmei_rm008z_map
);
rc_map_unregister
(
&
gadmei_rm008z_map
);
}
module_init
(
init_rc_map_gadmei_rm008z
)
...
...
drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.c
浏览文件 @
d100e659
...
...
@@ -58,7 +58,7 @@ static struct rc_map_table genius_tvgo_a11mce[] = {
{
0x50
,
KEY_BLUE
},
};
static
struct
rc_
keymap
genius_tvgo_a11mce_map
=
{
static
struct
rc_
map_list
genius_tvgo_a11mce_map
=
{
.
map
=
{
.
scan
=
genius_tvgo_a11mce
,
.
size
=
ARRAY_SIZE
(
genius_tvgo_a11mce
),
...
...
@@ -69,12 +69,12 @@ static struct rc_keymap genius_tvgo_a11mce_map = {
static
int
__init
init_rc_map_genius_tvgo_a11mce
(
void
)
{
return
ir_register_map
(
&
genius_tvgo_a11mce_map
);
return
rc_map_register
(
&
genius_tvgo_a11mce_map
);
}
static
void
__exit
exit_rc_map_genius_tvgo_a11mce
(
void
)
{
ir_unregister_map
(
&
genius_tvgo_a11mce_map
);
rc_map_unregister
(
&
genius_tvgo_a11mce_map
);
}
module_init
(
init_rc_map_genius_tvgo_a11mce
)
...
...
drivers/media/rc/keymaps/rc-gotview7135.c
浏览文件 @
d100e659
...
...
@@ -53,7 +53,7 @@ static struct rc_map_table gotview7135[] = {
{
0x38
,
KEY_F24
},
/* NORMAL TIMESHIFT */
};
static
struct
rc_
keymap
gotview7135_map
=
{
static
struct
rc_
map_list
gotview7135_map
=
{
.
map
=
{
.
scan
=
gotview7135
,
.
size
=
ARRAY_SIZE
(
gotview7135
),
...
...
@@ -64,12 +64,12 @@ static struct rc_keymap gotview7135_map = {
static
int
__init
init_rc_map_gotview7135
(
void
)
{
return
ir_register_map
(
&
gotview7135_map
);
return
rc_map_register
(
&
gotview7135_map
);
}
static
void
__exit
exit_rc_map_gotview7135
(
void
)
{
ir_unregister_map
(
&
gotview7135_map
);
rc_map_unregister
(
&
gotview7135_map
);
}
module_init
(
init_rc_map_gotview7135
)
...
...
drivers/media/rc/keymaps/rc-hauppauge-new.c
浏览文件 @
d100e659
...
...
@@ -74,7 +74,7 @@ static struct rc_map_table hauppauge_new[] = {
{
0x3d
,
KEY_POWER
},
/* system power (green button) */
};
static
struct
rc_
keymap
hauppauge_new_map
=
{
static
struct
rc_
map_list
hauppauge_new_map
=
{
.
map
=
{
.
scan
=
hauppauge_new
,
.
size
=
ARRAY_SIZE
(
hauppauge_new
),
...
...
@@ -85,12 +85,12 @@ static struct rc_keymap hauppauge_new_map = {
static
int
__init
init_rc_map_hauppauge_new
(
void
)
{
return
ir_register_map
(
&
hauppauge_new_map
);
return
rc_map_register
(
&
hauppauge_new_map
);
}
static
void
__exit
exit_rc_map_hauppauge_new
(
void
)
{
ir_unregister_map
(
&
hauppauge_new_map
);
rc_map_unregister
(
&
hauppauge_new_map
);
}
module_init
(
init_rc_map_hauppauge_new
)
...
...
drivers/media/rc/keymaps/rc-imon-mce.c
浏览文件 @
d100e659
...
...
@@ -115,7 +115,7 @@ static struct rc_map_table imon_mce[] = {
};
static
struct
rc_
keymap
imon_mce_map
=
{
static
struct
rc_
map_list
imon_mce_map
=
{
.
map
=
{
.
scan
=
imon_mce
,
.
size
=
ARRAY_SIZE
(
imon_mce
),
...
...
@@ -127,12 +127,12 @@ static struct rc_keymap imon_mce_map = {
static
int
__init
init_rc_map_imon_mce
(
void
)
{
return
ir_register_map
(
&
imon_mce_map
);
return
rc_map_register
(
&
imon_mce_map
);
}
static
void
__exit
exit_rc_map_imon_mce
(
void
)
{
ir_unregister_map
(
&
imon_mce_map
);
rc_map_unregister
(
&
imon_mce_map
);
}
module_init
(
init_rc_map_imon_mce
)
...
...
drivers/media/rc/keymaps/rc-imon-pad.c
浏览文件 @
d100e659
...
...
@@ -129,7 +129,7 @@ static struct rc_map_table imon_pad[] = {
{
0x29b715b7
,
KEY_DASHBOARD
},
/* AppLauncher */
};
static
struct
rc_
keymap
imon_pad_map
=
{
static
struct
rc_
map_list
imon_pad_map
=
{
.
map
=
{
.
scan
=
imon_pad
,
.
size
=
ARRAY_SIZE
(
imon_pad
),
...
...
@@ -141,12 +141,12 @@ static struct rc_keymap imon_pad_map = {
static
int
__init
init_rc_map_imon_pad
(
void
)
{
return
ir_register_map
(
&
imon_pad_map
);
return
rc_map_register
(
&
imon_pad_map
);
}
static
void
__exit
exit_rc_map_imon_pad
(
void
)
{
ir_unregister_map
(
&
imon_pad_map
);
rc_map_unregister
(
&
imon_pad_map
);
}
module_init
(
init_rc_map_imon_pad
)
...
...
drivers/media/rc/keymaps/rc-iodata-bctv7e.c
浏览文件 @
d100e659
...
...
@@ -62,7 +62,7 @@ static struct rc_map_table iodata_bctv7e[] = {
{
0x01
,
KEY_NEXT
},
/* skip >| */
};
static
struct
rc_
keymap
iodata_bctv7e_map
=
{
static
struct
rc_
map_list
iodata_bctv7e_map
=
{
.
map
=
{
.
scan
=
iodata_bctv7e
,
.
size
=
ARRAY_SIZE
(
iodata_bctv7e
),
...
...
@@ -73,12 +73,12 @@ static struct rc_keymap iodata_bctv7e_map = {
static
int
__init
init_rc_map_iodata_bctv7e
(
void
)
{
return
ir_register_map
(
&
iodata_bctv7e_map
);
return
rc_map_register
(
&
iodata_bctv7e_map
);
}
static
void
__exit
exit_rc_map_iodata_bctv7e
(
void
)
{
ir_unregister_map
(
&
iodata_bctv7e_map
);
rc_map_unregister
(
&
iodata_bctv7e_map
);
}
module_init
(
init_rc_map_iodata_bctv7e
)
...
...
drivers/media/rc/keymaps/rc-kaiomy.c
浏览文件 @
d100e659
...
...
@@ -61,7 +61,7 @@ static struct rc_map_table kaiomy[] = {
{
0x1f
,
KEY_BLUE
},
};
static
struct
rc_
keymap
kaiomy_map
=
{
static
struct
rc_
map_list
kaiomy_map
=
{
.
map
=
{
.
scan
=
kaiomy
,
.
size
=
ARRAY_SIZE
(
kaiomy
),
...
...
@@ -72,12 +72,12 @@ static struct rc_keymap kaiomy_map = {
static
int
__init
init_rc_map_kaiomy
(
void
)
{
return
ir_register_map
(
&
kaiomy_map
);
return
rc_map_register
(
&
kaiomy_map
);
}
static
void
__exit
exit_rc_map_kaiomy
(
void
)
{
ir_unregister_map
(
&
kaiomy_map
);
rc_map_unregister
(
&
kaiomy_map
);
}
module_init
(
init_rc_map_kaiomy
)
...
...
drivers/media/rc/keymaps/rc-kworld-315u.c
浏览文件 @
d100e659
...
...
@@ -57,7 +57,7 @@ static struct rc_map_table kworld_315u[] = {
{
0x611f
,
KEY_BLUE
},
};
static
struct
rc_
keymap
kworld_315u_map
=
{
static
struct
rc_
map_list
kworld_315u_map
=
{
.
map
=
{
.
scan
=
kworld_315u
,
.
size
=
ARRAY_SIZE
(
kworld_315u
),
...
...
@@ -68,12 +68,12 @@ static struct rc_keymap kworld_315u_map = {
static
int
__init
init_rc_map_kworld_315u
(
void
)
{
return
ir_register_map
(
&
kworld_315u_map
);
return
rc_map_register
(
&
kworld_315u_map
);
}
static
void
__exit
exit_rc_map_kworld_315u
(
void
)
{
ir_unregister_map
(
&
kworld_315u_map
);
rc_map_unregister
(
&
kworld_315u_map
);
}
module_init
(
init_rc_map_kworld_315u
)
...
...
drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c
浏览文件 @
d100e659
...
...
@@ -73,7 +73,7 @@ static struct rc_map_table kworld_plus_tv_analog[] = {
{
0x23
,
KEY_GREEN
},
/* C */
};
static
struct
rc_
keymap
kworld_plus_tv_analog_map
=
{
static
struct
rc_
map_list
kworld_plus_tv_analog_map
=
{
.
map
=
{
.
scan
=
kworld_plus_tv_analog
,
.
size
=
ARRAY_SIZE
(
kworld_plus_tv_analog
),
...
...
@@ -84,12 +84,12 @@ static struct rc_keymap kworld_plus_tv_analog_map = {
static
int
__init
init_rc_map_kworld_plus_tv_analog
(
void
)
{
return
ir_register_map
(
&
kworld_plus_tv_analog_map
);
return
rc_map_register
(
&
kworld_plus_tv_analog_map
);
}
static
void
__exit
exit_rc_map_kworld_plus_tv_analog
(
void
)
{
ir_unregister_map
(
&
kworld_plus_tv_analog_map
);
rc_map_unregister
(
&
kworld_plus_tv_analog_map
);
}
module_init
(
init_rc_map_kworld_plus_tv_analog
)
...
...
drivers/media/rc/keymaps/rc-leadtek-y04g0051.c
浏览文件 @
d100e659
...
...
@@ -73,7 +73,7 @@ static struct rc_map_table leadtek_y04g0051[] = {
{
0x035f
,
KEY_CHANNELDOWN
},
};
static
struct
rc_
keymap
leadtek_y04g0051_map
=
{
static
struct
rc_
map_list
leadtek_y04g0051_map
=
{
.
map
=
{
.
scan
=
leadtek_y04g0051
,
.
size
=
ARRAY_SIZE
(
leadtek_y04g0051
),
...
...
@@ -84,12 +84,12 @@ static struct rc_keymap leadtek_y04g0051_map = {
static
int
__init
init_rc_map_leadtek_y04g0051
(
void
)
{
return
ir_register_map
(
&
leadtek_y04g0051_map
);
return
rc_map_register
(
&
leadtek_y04g0051_map
);
}
static
void
__exit
exit_rc_map_leadtek_y04g0051
(
void
)
{
ir_unregister_map
(
&
leadtek_y04g0051_map
);
rc_map_unregister
(
&
leadtek_y04g0051_map
);
}
module_init
(
init_rc_map_leadtek_y04g0051
)
...
...
drivers/media/rc/keymaps/rc-lirc.c
浏览文件 @
d100e659
...
...
@@ -15,7 +15,7 @@ static struct rc_map_table lirc[] = {
{
},
};
static
struct
rc_
keymap
lirc_map
=
{
static
struct
rc_
map_list
lirc_map
=
{
.
map
=
{
.
scan
=
lirc
,
.
size
=
ARRAY_SIZE
(
lirc
),
...
...
@@ -26,12 +26,12 @@ static struct rc_keymap lirc_map = {
static
int
__init
init_rc_map_lirc
(
void
)
{
return
ir_register_map
(
&
lirc_map
);
return
rc_map_register
(
&
lirc_map
);
}
static
void
__exit
exit_rc_map_lirc
(
void
)
{
ir_unregister_map
(
&
lirc_map
);
rc_map_unregister
(
&
lirc_map
);
}
module_init
(
init_rc_map_lirc
)
...
...
drivers/media/rc/keymaps/rc-lme2510.c
浏览文件 @
d100e659
...
...
@@ -42,7 +42,7 @@ static struct rc_map_table lme2510_rc[] = {
};
static
struct
rc_
keymap
lme2510_map
=
{
static
struct
rc_
map_list
lme2510_map
=
{
.
map
=
{
.
scan
=
lme2510_rc
,
.
size
=
ARRAY_SIZE
(
lme2510_rc
),
...
...
@@ -53,12 +53,12 @@ static struct rc_keymap lme2510_map = {
static
int
__init
init_rc_lme2510_map
(
void
)
{
return
ir_register_map
(
&
lme2510_map
);
return
rc_map_register
(
&
lme2510_map
);
}
static
void
__exit
exit_rc_lme2510_map
(
void
)
{
ir_unregister_map
(
&
lme2510_map
);
rc_map_unregister
(
&
lme2510_map
);
}
module_init
(
init_rc_lme2510_map
)
...
...
drivers/media/rc/keymaps/rc-manli.c
浏览文件 @
d100e659
...
...
@@ -108,7 +108,7 @@ static struct rc_map_table manli[] = {
/* 0x1d unused ? */
};
static
struct
rc_
keymap
manli_map
=
{
static
struct
rc_
map_list
manli_map
=
{
.
map
=
{
.
scan
=
manli
,
.
size
=
ARRAY_SIZE
(
manli
),
...
...
@@ -119,12 +119,12 @@ static struct rc_keymap manli_map = {
static
int
__init
init_rc_map_manli
(
void
)
{
return
ir_register_map
(
&
manli_map
);
return
rc_map_register
(
&
manli_map
);
}
static
void
__exit
exit_rc_map_manli
(
void
)
{
ir_unregister_map
(
&
manli_map
);
rc_map_unregister
(
&
manli_map
);
}
module_init
(
init_rc_map_manli
)
...
...
drivers/media/rc/keymaps/rc-msi-digivox-ii.c
浏览文件 @
d100e659
...
...
@@ -41,7 +41,7 @@ static struct rc_map_table msi_digivox_ii[] = {
{
0x001f
,
KEY_VOLUMEDOWN
},
};
static
struct
rc_
keymap
msi_digivox_ii_map
=
{
static
struct
rc_
map_list
msi_digivox_ii_map
=
{
.
map
=
{
.
scan
=
msi_digivox_ii
,
.
size
=
ARRAY_SIZE
(
msi_digivox_ii
),
...
...
@@ -52,12 +52,12 @@ static struct rc_keymap msi_digivox_ii_map = {
static
int
__init
init_rc_map_msi_digivox_ii
(
void
)
{
return
ir_register_map
(
&
msi_digivox_ii_map
);
return
rc_map_register
(
&
msi_digivox_ii_map
);
}
static
void
__exit
exit_rc_map_msi_digivox_ii
(
void
)
{
ir_unregister_map
(
&
msi_digivox_ii_map
);
rc_map_unregister
(
&
msi_digivox_ii_map
);
}
module_init
(
init_rc_map_msi_digivox_ii
)
...
...
drivers/media/rc/keymaps/rc-msi-digivox-iii.c
浏览文件 @
d100e659
...
...
@@ -59,7 +59,7 @@ static struct rc_map_table msi_digivox_iii[] = {
{
0x61d643
,
KEY_POWER2
},
/* [red power button] */
};
static
struct
rc_
keymap
msi_digivox_iii_map
=
{
static
struct
rc_
map_list
msi_digivox_iii_map
=
{
.
map
=
{
.
scan
=
msi_digivox_iii
,
.
size
=
ARRAY_SIZE
(
msi_digivox_iii
),
...
...
@@ -70,12 +70,12 @@ static struct rc_keymap msi_digivox_iii_map = {
static
int
__init
init_rc_map_msi_digivox_iii
(
void
)
{
return
ir_register_map
(
&
msi_digivox_iii_map
);
return
rc_map_register
(
&
msi_digivox_iii_map
);
}
static
void
__exit
exit_rc_map_msi_digivox_iii
(
void
)
{
ir_unregister_map
(
&
msi_digivox_iii_map
);
rc_map_unregister
(
&
msi_digivox_iii_map
);
}
module_init
(
init_rc_map_msi_digivox_iii
)
...
...
drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c
浏览文件 @
d100e659
...
...
@@ -97,7 +97,7 @@ static struct rc_map_table msi_tvanywhere_plus[] = {
{
0x1d
,
KEY_RESTART
},
/* Reset */
};
static
struct
rc_
keymap
msi_tvanywhere_plus_map
=
{
static
struct
rc_
map_list
msi_tvanywhere_plus_map
=
{
.
map
=
{
.
scan
=
msi_tvanywhere_plus
,
.
size
=
ARRAY_SIZE
(
msi_tvanywhere_plus
),
...
...
@@ -108,12 +108,12 @@ static struct rc_keymap msi_tvanywhere_plus_map = {
static
int
__init
init_rc_map_msi_tvanywhere_plus
(
void
)
{
return
ir_register_map
(
&
msi_tvanywhere_plus_map
);
return
rc_map_register
(
&
msi_tvanywhere_plus_map
);
}
static
void
__exit
exit_rc_map_msi_tvanywhere_plus
(
void
)
{
ir_unregister_map
(
&
msi_tvanywhere_plus_map
);
rc_map_unregister
(
&
msi_tvanywhere_plus_map
);
}
module_init
(
init_rc_map_msi_tvanywhere_plus
)
...
...
drivers/media/rc/keymaps/rc-msi-tvanywhere.c
浏览文件 @
d100e659
...
...
@@ -43,7 +43,7 @@ static struct rc_map_table msi_tvanywhere[] = {
{
0x1f
,
KEY_VOLUMEDOWN
},
};
static
struct
rc_
keymap
msi_tvanywhere_map
=
{
static
struct
rc_
map_list
msi_tvanywhere_map
=
{
.
map
=
{
.
scan
=
msi_tvanywhere
,
.
size
=
ARRAY_SIZE
(
msi_tvanywhere
),
...
...
@@ -54,12 +54,12 @@ static struct rc_keymap msi_tvanywhere_map = {
static
int
__init
init_rc_map_msi_tvanywhere
(
void
)
{
return
ir_register_map
(
&
msi_tvanywhere_map
);
return
rc_map_register
(
&
msi_tvanywhere_map
);
}
static
void
__exit
exit_rc_map_msi_tvanywhere
(
void
)
{
ir_unregister_map
(
&
msi_tvanywhere_map
);
rc_map_unregister
(
&
msi_tvanywhere_map
);
}
module_init
(
init_rc_map_msi_tvanywhere
)
...
...
drivers/media/rc/keymaps/rc-nebula.c
浏览文件 @
d100e659
...
...
@@ -70,7 +70,7 @@ static struct rc_map_table nebula[] = {
{
0x36
,
KEY_PC
},
};
static
struct
rc_
keymap
nebula_map
=
{
static
struct
rc_
map_list
nebula_map
=
{
.
map
=
{
.
scan
=
nebula
,
.
size
=
ARRAY_SIZE
(
nebula
),
...
...
@@ -81,12 +81,12 @@ static struct rc_keymap nebula_map = {
static
int
__init
init_rc_map_nebula
(
void
)
{
return
ir_register_map
(
&
nebula_map
);
return
rc_map_register
(
&
nebula_map
);
}
static
void
__exit
exit_rc_map_nebula
(
void
)
{
ir_unregister_map
(
&
nebula_map
);
rc_map_unregister
(
&
nebula_map
);
}
module_init
(
init_rc_map_nebula
)
...
...
drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.c
浏览文件 @
d100e659
...
...
@@ -79,7 +79,7 @@ static struct rc_map_table nec_terratec_cinergy_xs[] = {
{
0x145c
,
KEY_NEXT
},
};
static
struct
rc_
keymap
nec_terratec_cinergy_xs_map
=
{
static
struct
rc_
map_list
nec_terratec_cinergy_xs_map
=
{
.
map
=
{
.
scan
=
nec_terratec_cinergy_xs
,
.
size
=
ARRAY_SIZE
(
nec_terratec_cinergy_xs
),
...
...
@@ -90,12 +90,12 @@ static struct rc_keymap nec_terratec_cinergy_xs_map = {
static
int
__init
init_rc_map_nec_terratec_cinergy_xs
(
void
)
{
return
ir_register_map
(
&
nec_terratec_cinergy_xs_map
);
return
rc_map_register
(
&
nec_terratec_cinergy_xs_map
);
}
static
void
__exit
exit_rc_map_nec_terratec_cinergy_xs
(
void
)
{
ir_unregister_map
(
&
nec_terratec_cinergy_xs_map
);
rc_map_unregister
(
&
nec_terratec_cinergy_xs_map
);
}
module_init
(
init_rc_map_nec_terratec_cinergy_xs
)
...
...
drivers/media/rc/keymaps/rc-norwood.c
浏览文件 @
d100e659
...
...
@@ -59,7 +59,7 @@ static struct rc_map_table norwood[] = {
{
0x65
,
KEY_POWER
},
/* Computer power */
};
static
struct
rc_
keymap
norwood_map
=
{
static
struct
rc_
map_list
norwood_map
=
{
.
map
=
{
.
scan
=
norwood
,
.
size
=
ARRAY_SIZE
(
norwood
),
...
...
@@ -70,12 +70,12 @@ static struct rc_keymap norwood_map = {
static
int
__init
init_rc_map_norwood
(
void
)
{
return
ir_register_map
(
&
norwood_map
);
return
rc_map_register
(
&
norwood_map
);
}
static
void
__exit
exit_rc_map_norwood
(
void
)
{
ir_unregister_map
(
&
norwood_map
);
rc_map_unregister
(
&
norwood_map
);
}
module_init
(
init_rc_map_norwood
)
...
...
drivers/media/rc/keymaps/rc-npgtech.c
浏览文件 @
d100e659
...
...
@@ -54,7 +54,7 @@ static struct rc_map_table npgtech[] = {
};
static
struct
rc_
keymap
npgtech_map
=
{
static
struct
rc_
map_list
npgtech_map
=
{
.
map
=
{
.
scan
=
npgtech
,
.
size
=
ARRAY_SIZE
(
npgtech
),
...
...
@@ -65,12 +65,12 @@ static struct rc_keymap npgtech_map = {
static
int
__init
init_rc_map_npgtech
(
void
)
{
return
ir_register_map
(
&
npgtech_map
);
return
rc_map_register
(
&
npgtech_map
);
}
static
void
__exit
exit_rc_map_npgtech
(
void
)
{
ir_unregister_map
(
&
npgtech_map
);
rc_map_unregister
(
&
npgtech_map
);
}
module_init
(
init_rc_map_npgtech
)
...
...
drivers/media/rc/keymaps/rc-pctv-sedna.c
浏览文件 @
d100e659
...
...
@@ -54,7 +54,7 @@ static struct rc_map_table pctv_sedna[] = {
{
0x1f
,
KEY_PLAY
},
/* Play */
};
static
struct
rc_
keymap
pctv_sedna_map
=
{
static
struct
rc_
map_list
pctv_sedna_map
=
{
.
map
=
{
.
scan
=
pctv_sedna
,
.
size
=
ARRAY_SIZE
(
pctv_sedna
),
...
...
@@ -65,12 +65,12 @@ static struct rc_keymap pctv_sedna_map = {
static
int
__init
init_rc_map_pctv_sedna
(
void
)
{
return
ir_register_map
(
&
pctv_sedna_map
);
return
rc_map_register
(
&
pctv_sedna_map
);
}
static
void
__exit
exit_rc_map_pctv_sedna
(
void
)
{
ir_unregister_map
(
&
pctv_sedna_map
);
rc_map_unregister
(
&
pctv_sedna_map
);
}
module_init
(
init_rc_map_pctv_sedna
)
...
...
drivers/media/rc/keymaps/rc-pinnacle-color.c
浏览文件 @
d100e659
...
...
@@ -68,7 +68,7 @@ static struct rc_map_table pinnacle_color[] = {
{
0x0a
,
KEY_BACKSPACE
},
};
static
struct
rc_
keymap
pinnacle_color_map
=
{
static
struct
rc_
map_list
pinnacle_color_map
=
{
.
map
=
{
.
scan
=
pinnacle_color
,
.
size
=
ARRAY_SIZE
(
pinnacle_color
),
...
...
@@ -79,12 +79,12 @@ static struct rc_keymap pinnacle_color_map = {
static
int
__init
init_rc_map_pinnacle_color
(
void
)
{
return
ir_register_map
(
&
pinnacle_color_map
);
return
rc_map_register
(
&
pinnacle_color_map
);
}
static
void
__exit
exit_rc_map_pinnacle_color
(
void
)
{
ir_unregister_map
(
&
pinnacle_color_map
);
rc_map_unregister
(
&
pinnacle_color_map
);
}
module_init
(
init_rc_map_pinnacle_color
)
...
...
drivers/media/rc/keymaps/rc-pinnacle-grey.c
浏览文件 @
d100e659
...
...
@@ -63,7 +63,7 @@ static struct rc_map_table pinnacle_grey[] = {
{
0x18
,
KEY_EPG
},
};
static
struct
rc_
keymap
pinnacle_grey_map
=
{
static
struct
rc_
map_list
pinnacle_grey_map
=
{
.
map
=
{
.
scan
=
pinnacle_grey
,
.
size
=
ARRAY_SIZE
(
pinnacle_grey
),
...
...
@@ -74,12 +74,12 @@ static struct rc_keymap pinnacle_grey_map = {
static
int
__init
init_rc_map_pinnacle_grey
(
void
)
{
return
ir_register_map
(
&
pinnacle_grey_map
);
return
rc_map_register
(
&
pinnacle_grey_map
);
}
static
void
__exit
exit_rc_map_pinnacle_grey
(
void
)
{
ir_unregister_map
(
&
pinnacle_grey_map
);
rc_map_unregister
(
&
pinnacle_grey_map
);
}
module_init
(
init_rc_map_pinnacle_grey
)
...
...
drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c
浏览文件 @
d100e659
...
...
@@ -47,7 +47,7 @@ static struct rc_map_table pinnacle_pctv_hd[] = {
{
0x3f
,
KEY_EPG
},
/* Labeled "?" */
};
static
struct
rc_
keymap
pinnacle_pctv_hd_map
=
{
static
struct
rc_
map_list
pinnacle_pctv_hd_map
=
{
.
map
=
{
.
scan
=
pinnacle_pctv_hd
,
.
size
=
ARRAY_SIZE
(
pinnacle_pctv_hd
),
...
...
@@ -58,12 +58,12 @@ static struct rc_keymap pinnacle_pctv_hd_map = {
static
int
__init
init_rc_map_pinnacle_pctv_hd
(
void
)
{
return
ir_register_map
(
&
pinnacle_pctv_hd_map
);
return
rc_map_register
(
&
pinnacle_pctv_hd_map
);
}
static
void
__exit
exit_rc_map_pinnacle_pctv_hd
(
void
)
{
ir_unregister_map
(
&
pinnacle_pctv_hd_map
);
rc_map_unregister
(
&
pinnacle_pctv_hd_map
);
}
module_init
(
init_rc_map_pinnacle_pctv_hd
)
...
...
drivers/media/rc/keymaps/rc-pixelview-mk12.c
浏览文件 @
d100e659
...
...
@@ -57,7 +57,7 @@ static struct rc_map_table pixelview_mk12[] = {
{
0x866b07
,
KEY_RADIO
},
/* FM */
};
static
struct
rc_
keymap
pixelview_map
=
{
static
struct
rc_
map_list
pixelview_map
=
{
.
map
=
{
.
scan
=
pixelview_mk12
,
.
size
=
ARRAY_SIZE
(
pixelview_mk12
),
...
...
@@ -68,12 +68,12 @@ static struct rc_keymap pixelview_map = {
static
int
__init
init_rc_map_pixelview
(
void
)
{
return
ir_register_map
(
&
pixelview_map
);
return
rc_map_register
(
&
pixelview_map
);
}
static
void
__exit
exit_rc_map_pixelview
(
void
)
{
ir_unregister_map
(
&
pixelview_map
);
rc_map_unregister
(
&
pixelview_map
);
}
module_init
(
init_rc_map_pixelview
)
...
...
drivers/media/rc/keymaps/rc-pixelview-new.c
浏览文件 @
d100e659
...
...
@@ -57,7 +57,7 @@ static struct rc_map_table pixelview_new[] = {
{
0x34
,
KEY_RADIO
},
};
static
struct
rc_
keymap
pixelview_new_map
=
{
static
struct
rc_
map_list
pixelview_new_map
=
{
.
map
=
{
.
scan
=
pixelview_new
,
.
size
=
ARRAY_SIZE
(
pixelview_new
),
...
...
@@ -68,12 +68,12 @@ static struct rc_keymap pixelview_new_map = {
static
int
__init
init_rc_map_pixelview_new
(
void
)
{
return
ir_register_map
(
&
pixelview_new_map
);
return
rc_map_register
(
&
pixelview_new_map
);
}
static
void
__exit
exit_rc_map_pixelview_new
(
void
)
{
ir_unregister_map
(
&
pixelview_new_map
);
rc_map_unregister
(
&
pixelview_new_map
);
}
module_init
(
init_rc_map_pixelview_new
)
...
...
drivers/media/rc/keymaps/rc-pixelview.c
浏览文件 @
d100e659
...
...
@@ -56,7 +56,7 @@ static struct rc_map_table pixelview[] = {
{
0x18
,
KEY_MUTE
},
/* mute/unmute */
};
static
struct
rc_
keymap
pixelview_map
=
{
static
struct
rc_
map_list
pixelview_map
=
{
.
map
=
{
.
scan
=
pixelview
,
.
size
=
ARRAY_SIZE
(
pixelview
),
...
...
@@ -67,12 +67,12 @@ static struct rc_keymap pixelview_map = {
static
int
__init
init_rc_map_pixelview
(
void
)
{
return
ir_register_map
(
&
pixelview_map
);
return
rc_map_register
(
&
pixelview_map
);
}
static
void
__exit
exit_rc_map_pixelview
(
void
)
{
ir_unregister_map
(
&
pixelview_map
);
rc_map_unregister
(
&
pixelview_map
);
}
module_init
(
init_rc_map_pixelview
)
...
...
drivers/media/rc/keymaps/rc-powercolor-real-angel.c
浏览文件 @
d100e659
...
...
@@ -55,7 +55,7 @@ static struct rc_map_table powercolor_real_angel[] = {
{
0x25
,
KEY_POWER
},
/* power */
};
static
struct
rc_
keymap
powercolor_real_angel_map
=
{
static
struct
rc_
map_list
powercolor_real_angel_map
=
{
.
map
=
{
.
scan
=
powercolor_real_angel
,
.
size
=
ARRAY_SIZE
(
powercolor_real_angel
),
...
...
@@ -66,12 +66,12 @@ static struct rc_keymap powercolor_real_angel_map = {
static
int
__init
init_rc_map_powercolor_real_angel
(
void
)
{
return
ir_register_map
(
&
powercolor_real_angel_map
);
return
rc_map_register
(
&
powercolor_real_angel_map
);
}
static
void
__exit
exit_rc_map_powercolor_real_angel
(
void
)
{
ir_unregister_map
(
&
powercolor_real_angel_map
);
rc_map_unregister
(
&
powercolor_real_angel_map
);
}
module_init
(
init_rc_map_powercolor_real_angel
)
...
...
drivers/media/rc/keymaps/rc-proteus-2309.c
浏览文件 @
d100e659
...
...
@@ -43,7 +43,7 @@ static struct rc_map_table proteus_2309[] = {
{
0x14
,
KEY_F1
},
};
static
struct
rc_
keymap
proteus_2309_map
=
{
static
struct
rc_
map_list
proteus_2309_map
=
{
.
map
=
{
.
scan
=
proteus_2309
,
.
size
=
ARRAY_SIZE
(
proteus_2309
),
...
...
@@ -54,12 +54,12 @@ static struct rc_keymap proteus_2309_map = {
static
int
__init
init_rc_map_proteus_2309
(
void
)
{
return
ir_register_map
(
&
proteus_2309_map
);
return
rc_map_register
(
&
proteus_2309_map
);
}
static
void
__exit
exit_rc_map_proteus_2309
(
void
)
{
ir_unregister_map
(
&
proteus_2309_map
);
rc_map_unregister
(
&
proteus_2309_map
);
}
module_init
(
init_rc_map_proteus_2309
)
...
...
drivers/media/rc/keymaps/rc-purpletv.c
浏览文件 @
d100e659
...
...
@@ -55,7 +55,7 @@ static struct rc_map_table purpletv[] = {
};
static
struct
rc_
keymap
purpletv_map
=
{
static
struct
rc_
map_list
purpletv_map
=
{
.
map
=
{
.
scan
=
purpletv
,
.
size
=
ARRAY_SIZE
(
purpletv
),
...
...
@@ -66,12 +66,12 @@ static struct rc_keymap purpletv_map = {
static
int
__init
init_rc_map_purpletv
(
void
)
{
return
ir_register_map
(
&
purpletv_map
);
return
rc_map_register
(
&
purpletv_map
);
}
static
void
__exit
exit_rc_map_purpletv
(
void
)
{
ir_unregister_map
(
&
purpletv_map
);
rc_map_unregister
(
&
purpletv_map
);
}
module_init
(
init_rc_map_purpletv
)
...
...
drivers/media/rc/keymaps/rc-pv951.c
浏览文件 @
d100e659
...
...
@@ -52,7 +52,7 @@ static struct rc_map_table pv951[] = {
{
0x1c
,
KEY_MEDIA
},
/* PC/TV */
};
static
struct
rc_
keymap
pv951_map
=
{
static
struct
rc_
map_list
pv951_map
=
{
.
map
=
{
.
scan
=
pv951
,
.
size
=
ARRAY_SIZE
(
pv951
),
...
...
@@ -63,12 +63,12 @@ static struct rc_keymap pv951_map = {
static
int
__init
init_rc_map_pv951
(
void
)
{
return
ir_register_map
(
&
pv951_map
);
return
rc_map_register
(
&
pv951_map
);
}
static
void
__exit
exit_rc_map_pv951
(
void
)
{
ir_unregister_map
(
&
pv951_map
);
rc_map_unregister
(
&
pv951_map
);
}
module_init
(
init_rc_map_pv951
)
...
...
drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
浏览文件 @
d100e659
...
...
@@ -77,7 +77,7 @@ static struct rc_map_table rc5_hauppauge_new[] = {
{
0x1e3d
,
KEY_POWER
},
/* system power (green button) */
};
static
struct
rc_
keymap
rc5_hauppauge_new_map
=
{
static
struct
rc_
map_list
rc5_hauppauge_new_map
=
{
.
map
=
{
.
scan
=
rc5_hauppauge_new
,
.
size
=
ARRAY_SIZE
(
rc5_hauppauge_new
),
...
...
@@ -88,12 +88,12 @@ static struct rc_keymap rc5_hauppauge_new_map = {
static
int
__init
init_rc_map_rc5_hauppauge_new
(
void
)
{
return
ir_register_map
(
&
rc5_hauppauge_new_map
);
return
rc_map_register
(
&
rc5_hauppauge_new_map
);
}
static
void
__exit
exit_rc_map_rc5_hauppauge_new
(
void
)
{
ir_unregister_map
(
&
rc5_hauppauge_new_map
);
rc_map_unregister
(
&
rc5_hauppauge_new_map
);
}
module_init
(
init_rc_map_rc5_hauppauge_new
)
...
...
drivers/media/rc/keymaps/rc-rc5-tv.c
浏览文件 @
d100e659
...
...
@@ -55,7 +55,7 @@ static struct rc_map_table rc5_tv[] = {
};
static
struct
rc_
keymap
rc5_tv_map
=
{
static
struct
rc_
map_list
rc5_tv_map
=
{
.
map
=
{
.
scan
=
rc5_tv
,
.
size
=
ARRAY_SIZE
(
rc5_tv
),
...
...
@@ -66,12 +66,12 @@ static struct rc_keymap rc5_tv_map = {
static
int
__init
init_rc_map_rc5_tv
(
void
)
{
return
ir_register_map
(
&
rc5_tv_map
);
return
rc_map_register
(
&
rc5_tv_map
);
}
static
void
__exit
exit_rc_map_rc5_tv
(
void
)
{
ir_unregister_map
(
&
rc5_tv_map
);
rc_map_unregister
(
&
rc5_tv_map
);
}
module_init
(
init_rc_map_rc5_tv
)
...
...
drivers/media/rc/keymaps/rc-rc6-mce.c
浏览文件 @
d100e659
...
...
@@ -87,7 +87,7 @@ static struct rc_map_table rc6_mce[] = {
{
0x800f0481
,
KEY_PLAYPAUSE
},
};
static
struct
rc_
keymap
rc6_mce_map
=
{
static
struct
rc_
map_list
rc6_mce_map
=
{
.
map
=
{
.
scan
=
rc6_mce
,
.
size
=
ARRAY_SIZE
(
rc6_mce
),
...
...
@@ -98,12 +98,12 @@ static struct rc_keymap rc6_mce_map = {
static
int
__init
init_rc_map_rc6_mce
(
void
)
{
return
ir_register_map
(
&
rc6_mce_map
);
return
rc_map_register
(
&
rc6_mce_map
);
}
static
void
__exit
exit_rc_map_rc6_mce
(
void
)
{
ir_unregister_map
(
&
rc6_mce_map
);
rc_map_unregister
(
&
rc6_mce_map
);
}
module_init
(
init_rc_map_rc6_mce
)
...
...
drivers/media/rc/keymaps/rc-real-audio-220-32-keys.c
浏览文件 @
d100e659
...
...
@@ -52,7 +52,7 @@ static struct rc_map_table real_audio_220_32_keys[] = {
};
static
struct
rc_
keymap
real_audio_220_32_keys_map
=
{
static
struct
rc_
map_list
real_audio_220_32_keys_map
=
{
.
map
=
{
.
scan
=
real_audio_220_32_keys
,
.
size
=
ARRAY_SIZE
(
real_audio_220_32_keys
),
...
...
@@ -63,12 +63,12 @@ static struct rc_keymap real_audio_220_32_keys_map = {
static
int
__init
init_rc_map_real_audio_220_32_keys
(
void
)
{
return
ir_register_map
(
&
real_audio_220_32_keys_map
);
return
rc_map_register
(
&
real_audio_220_32_keys_map
);
}
static
void
__exit
exit_rc_map_real_audio_220_32_keys
(
void
)
{
ir_unregister_map
(
&
real_audio_220_32_keys_map
);
rc_map_unregister
(
&
real_audio_220_32_keys_map
);
}
module_init
(
init_rc_map_real_audio_220_32_keys
)
...
...
drivers/media/rc/keymaps/rc-streamzap.c
浏览文件 @
d100e659
...
...
@@ -56,7 +56,7 @@ static struct rc_map_table streamzap[] = {
};
static
struct
rc_
keymap
streamzap_map
=
{
static
struct
rc_
map_list
streamzap_map
=
{
.
map
=
{
.
scan
=
streamzap
,
.
size
=
ARRAY_SIZE
(
streamzap
),
...
...
@@ -67,12 +67,12 @@ static struct rc_keymap streamzap_map = {
static
int
__init
init_rc_map_streamzap
(
void
)
{
return
ir_register_map
(
&
streamzap_map
);
return
rc_map_register
(
&
streamzap_map
);
}
static
void
__exit
exit_rc_map_streamzap
(
void
)
{
ir_unregister_map
(
&
streamzap_map
);
rc_map_unregister
(
&
streamzap_map
);
}
module_init
(
init_rc_map_streamzap
)
...
...
drivers/media/rc/keymaps/rc-tbs-nec.c
浏览文件 @
d100e659
...
...
@@ -47,7 +47,7 @@ static struct rc_map_table tbs_nec[] = {
{
0x1b
,
KEY_MODE
},
};
static
struct
rc_
keymap
tbs_nec_map
=
{
static
struct
rc_
map_list
tbs_nec_map
=
{
.
map
=
{
.
scan
=
tbs_nec
,
.
size
=
ARRAY_SIZE
(
tbs_nec
),
...
...
@@ -58,12 +58,12 @@ static struct rc_keymap tbs_nec_map = {
static
int
__init
init_rc_map_tbs_nec
(
void
)
{
return
ir_register_map
(
&
tbs_nec_map
);
return
rc_map_register
(
&
tbs_nec_map
);
}
static
void
__exit
exit_rc_map_tbs_nec
(
void
)
{
ir_unregister_map
(
&
tbs_nec_map
);
rc_map_unregister
(
&
tbs_nec_map
);
}
module_init
(
init_rc_map_tbs_nec
)
...
...
drivers/media/rc/keymaps/rc-terratec-cinergy-xs.c
浏览文件 @
d100e659
...
...
@@ -66,7 +66,7 @@ static struct rc_map_table terratec_cinergy_xs[] = {
{
0x5c
,
KEY_NEXT
},
};
static
struct
rc_
keymap
terratec_cinergy_xs_map
=
{
static
struct
rc_
map_list
terratec_cinergy_xs_map
=
{
.
map
=
{
.
scan
=
terratec_cinergy_xs
,
.
size
=
ARRAY_SIZE
(
terratec_cinergy_xs
),
...
...
@@ -77,12 +77,12 @@ static struct rc_keymap terratec_cinergy_xs_map = {
static
int
__init
init_rc_map_terratec_cinergy_xs
(
void
)
{
return
ir_register_map
(
&
terratec_cinergy_xs_map
);
return
rc_map_register
(
&
terratec_cinergy_xs_map
);
}
static
void
__exit
exit_rc_map_terratec_cinergy_xs
(
void
)
{
ir_unregister_map
(
&
terratec_cinergy_xs_map
);
rc_map_unregister
(
&
terratec_cinergy_xs_map
);
}
module_init
(
init_rc_map_terratec_cinergy_xs
)
...
...
drivers/media/rc/keymaps/rc-terratec-slim.c
浏览文件 @
d100e659
...
...
@@ -53,7 +53,7 @@ static struct rc_map_table terratec_slim[] = {
{
0x02bd45
,
KEY_POWER2
},
/* [red power button] */
};
static
struct
rc_
keymap
terratec_slim_map
=
{
static
struct
rc_
map_list
terratec_slim_map
=
{
.
map
=
{
.
scan
=
terratec_slim
,
.
size
=
ARRAY_SIZE
(
terratec_slim
),
...
...
@@ -64,12 +64,12 @@ static struct rc_keymap terratec_slim_map = {
static
int
__init
init_rc_map_terratec_slim
(
void
)
{
return
ir_register_map
(
&
terratec_slim_map
);
return
rc_map_register
(
&
terratec_slim_map
);
}
static
void
__exit
exit_rc_map_terratec_slim
(
void
)
{
ir_unregister_map
(
&
terratec_slim_map
);
rc_map_unregister
(
&
terratec_slim_map
);
}
module_init
(
init_rc_map_terratec_slim
)
...
...
drivers/media/rc/keymaps/rc-tevii-nec.c
浏览文件 @
d100e659
...
...
@@ -62,7 +62,7 @@ static struct rc_map_table tevii_nec[] = {
{
0x58
,
KEY_SWITCHVIDEOMODE
},
};
static
struct
rc_
keymap
tevii_nec_map
=
{
static
struct
rc_
map_list
tevii_nec_map
=
{
.
map
=
{
.
scan
=
tevii_nec
,
.
size
=
ARRAY_SIZE
(
tevii_nec
),
...
...
@@ -73,12 +73,12 @@ static struct rc_keymap tevii_nec_map = {
static
int
__init
init_rc_map_tevii_nec
(
void
)
{
return
ir_register_map
(
&
tevii_nec_map
);
return
rc_map_register
(
&
tevii_nec_map
);
}
static
void
__exit
exit_rc_map_tevii_nec
(
void
)
{
ir_unregister_map
(
&
tevii_nec_map
);
rc_map_unregister
(
&
tevii_nec_map
);
}
module_init
(
init_rc_map_tevii_nec
)
...
...
drivers/media/rc/keymaps/rc-total-media-in-hand.c
浏览文件 @
d100e659
...
...
@@ -59,7 +59,7 @@ static struct rc_map_table total_media_in_hand[] = {
{
0x02bd45
,
KEY_INFO
},
/* [red (I)] */
};
static
struct
rc_
keymap
total_media_in_hand_map
=
{
static
struct
rc_
map_list
total_media_in_hand_map
=
{
.
map
=
{
.
scan
=
total_media_in_hand
,
.
size
=
ARRAY_SIZE
(
total_media_in_hand
),
...
...
@@ -70,12 +70,12 @@ static struct rc_keymap total_media_in_hand_map = {
static
int
__init
init_rc_map_total_media_in_hand
(
void
)
{
return
ir_register_map
(
&
total_media_in_hand_map
);
return
rc_map_register
(
&
total_media_in_hand_map
);
}
static
void
__exit
exit_rc_map_total_media_in_hand
(
void
)
{
ir_unregister_map
(
&
total_media_in_hand_map
);
rc_map_unregister
(
&
total_media_in_hand_map
);
}
module_init
(
init_rc_map_total_media_in_hand
)
...
...
drivers/media/rc/keymaps/rc-trekstor.c
浏览文件 @
d100e659
...
...
@@ -54,7 +54,7 @@ static struct rc_map_table trekstor[] = {
{
0x009f
,
KEY_LEFT
},
/* Left */
};
static
struct
rc_
keymap
trekstor_map
=
{
static
struct
rc_
map_list
trekstor_map
=
{
.
map
=
{
.
scan
=
trekstor
,
.
size
=
ARRAY_SIZE
(
trekstor
),
...
...
@@ -65,12 +65,12 @@ static struct rc_keymap trekstor_map = {
static
int
__init
init_rc_map_trekstor
(
void
)
{
return
ir_register_map
(
&
trekstor_map
);
return
rc_map_register
(
&
trekstor_map
);
}
static
void
__exit
exit_rc_map_trekstor
(
void
)
{
ir_unregister_map
(
&
trekstor_map
);
rc_map_unregister
(
&
trekstor_map
);
}
module_init
(
init_rc_map_trekstor
)
...
...
drivers/media/rc/keymaps/rc-tt-1500.c
浏览文件 @
d100e659
...
...
@@ -56,7 +56,7 @@ static struct rc_map_table tt_1500[] = {
{
0x3f
,
KEY_FORWARD
},
};
static
struct
rc_
keymap
tt_1500_map
=
{
static
struct
rc_
map_list
tt_1500_map
=
{
.
map
=
{
.
scan
=
tt_1500
,
.
size
=
ARRAY_SIZE
(
tt_1500
),
...
...
@@ -67,12 +67,12 @@ static struct rc_keymap tt_1500_map = {
static
int
__init
init_rc_map_tt_1500
(
void
)
{
return
ir_register_map
(
&
tt_1500_map
);
return
rc_map_register
(
&
tt_1500_map
);
}
static
void
__exit
exit_rc_map_tt_1500
(
void
)
{
ir_unregister_map
(
&
tt_1500_map
);
rc_map_unregister
(
&
tt_1500_map
);
}
module_init
(
init_rc_map_tt_1500
)
...
...
drivers/media/rc/keymaps/rc-twinhan1027.c
浏览文件 @
d100e659
...
...
@@ -61,7 +61,7 @@ static struct rc_map_table twinhan_vp1027[] = {
{
0x5f
,
KEY_BLUE
},
};
static
struct
rc_
keymap
twinhan_vp1027_map
=
{
static
struct
rc_
map_list
twinhan_vp1027_map
=
{
.
map
=
{
.
scan
=
twinhan_vp1027
,
.
size
=
ARRAY_SIZE
(
twinhan_vp1027
),
...
...
@@ -72,12 +72,12 @@ static struct rc_keymap twinhan_vp1027_map = {
static
int
__init
init_rc_map_twinhan_vp1027
(
void
)
{
return
ir_register_map
(
&
twinhan_vp1027_map
);
return
rc_map_register
(
&
twinhan_vp1027_map
);
}
static
void
__exit
exit_rc_map_twinhan_vp1027
(
void
)
{
ir_unregister_map
(
&
twinhan_vp1027_map
);
rc_map_unregister
(
&
twinhan_vp1027_map
);
}
module_init
(
init_rc_map_twinhan_vp1027
)
...
...
drivers/media/rc/keymaps/rc-videomate-s350.c
浏览文件 @
d100e659
...
...
@@ -59,7 +59,7 @@ static struct rc_map_table videomate_s350[] = {
{
0x20
,
KEY_TEXT
},
};
static
struct
rc_
keymap
videomate_s350_map
=
{
static
struct
rc_
map_list
videomate_s350_map
=
{
.
map
=
{
.
scan
=
videomate_s350
,
.
size
=
ARRAY_SIZE
(
videomate_s350
),
...
...
@@ -70,12 +70,12 @@ static struct rc_keymap videomate_s350_map = {
static
int
__init
init_rc_map_videomate_s350
(
void
)
{
return
ir_register_map
(
&
videomate_s350_map
);
return
rc_map_register
(
&
videomate_s350_map
);
}
static
void
__exit
exit_rc_map_videomate_s350
(
void
)
{
ir_unregister_map
(
&
videomate_s350_map
);
rc_map_unregister
(
&
videomate_s350_map
);
}
module_init
(
init_rc_map_videomate_s350
)
...
...
drivers/media/rc/keymaps/rc-videomate-tv-pvr.c
浏览文件 @
d100e659
...
...
@@ -61,7 +61,7 @@ static struct rc_map_table videomate_tv_pvr[] = {
{
0x21
,
KEY_SLEEP
},
};
static
struct
rc_
keymap
videomate_tv_pvr_map
=
{
static
struct
rc_
map_list
videomate_tv_pvr_map
=
{
.
map
=
{
.
scan
=
videomate_tv_pvr
,
.
size
=
ARRAY_SIZE
(
videomate_tv_pvr
),
...
...
@@ -72,12 +72,12 @@ static struct rc_keymap videomate_tv_pvr_map = {
static
int
__init
init_rc_map_videomate_tv_pvr
(
void
)
{
return
ir_register_map
(
&
videomate_tv_pvr_map
);
return
rc_map_register
(
&
videomate_tv_pvr_map
);
}
static
void
__exit
exit_rc_map_videomate_tv_pvr
(
void
)
{
ir_unregister_map
(
&
videomate_tv_pvr_map
);
rc_map_unregister
(
&
videomate_tv_pvr_map
);
}
module_init
(
init_rc_map_videomate_tv_pvr
)
...
...
drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.c
浏览文件 @
d100e659
...
...
@@ -56,7 +56,7 @@ static struct rc_map_table winfast_usbii_deluxe[] = {
};
static
struct
rc_
keymap
winfast_usbii_deluxe_map
=
{
static
struct
rc_
map_list
winfast_usbii_deluxe_map
=
{
.
map
=
{
.
scan
=
winfast_usbii_deluxe
,
.
size
=
ARRAY_SIZE
(
winfast_usbii_deluxe
),
...
...
@@ -67,12 +67,12 @@ static struct rc_keymap winfast_usbii_deluxe_map = {
static
int
__init
init_rc_map_winfast_usbii_deluxe
(
void
)
{
return
ir_register_map
(
&
winfast_usbii_deluxe_map
);
return
rc_map_register
(
&
winfast_usbii_deluxe_map
);
}
static
void
__exit
exit_rc_map_winfast_usbii_deluxe
(
void
)
{
ir_unregister_map
(
&
winfast_usbii_deluxe_map
);
rc_map_unregister
(
&
winfast_usbii_deluxe_map
);
}
module_init
(
init_rc_map_winfast_usbii_deluxe
)
...
...
drivers/media/rc/keymaps/rc-winfast.c
浏览文件 @
d100e659
...
...
@@ -76,7 +76,7 @@ static struct rc_map_table winfast[] = {
{
0x3f
,
KEY_F24
}
/* MCE -CH, on Y04G0033 */
};
static
struct
rc_
keymap
winfast_map
=
{
static
struct
rc_
map_list
winfast_map
=
{
.
map
=
{
.
scan
=
winfast
,
.
size
=
ARRAY_SIZE
(
winfast
),
...
...
@@ -87,12 +87,12 @@ static struct rc_keymap winfast_map = {
static
int
__init
init_rc_map_winfast
(
void
)
{
return
ir_register_map
(
&
winfast_map
);
return
rc_map_register
(
&
winfast_map
);
}
static
void
__exit
exit_rc_map_winfast
(
void
)
{
ir_unregister_map
(
&
winfast_map
);
rc_map_unregister
(
&
winfast_map
);
}
module_init
(
init_rc_map_winfast
)
...
...
drivers/media/rc/rc-main.c
浏览文件 @
d100e659
...
...
@@ -31,9 +31,9 @@
static
LIST_HEAD
(
rc_map_list
);
static
DEFINE_SPINLOCK
(
rc_map_lock
);
static
struct
rc_
keymap
*
seek_rc_map
(
const
char
*
name
)
static
struct
rc_
map_list
*
seek_rc_map
(
const
char
*
name
)
{
struct
rc_
keymap
*
map
=
NULL
;
struct
rc_
map_list
*
map
=
NULL
;
spin_lock
(
&
rc_map_lock
);
list_for_each_entry
(
map
,
&
rc_map_list
,
list
)
{
...
...
@@ -47,10 +47,10 @@ static struct rc_keymap *seek_rc_map(const char *name)
return
NULL
;
}
struct
rc_map
*
get_rc_map
(
const
char
*
name
)
struct
rc_map
*
rc_map_get
(
const
char
*
name
)
{
struct
rc_
keymap
*
map
;
struct
rc_
map_list
*
map
;
map
=
seek_rc_map
(
name
);
#ifdef MODULE
...
...
@@ -74,31 +74,31 @@ struct rc_map *get_rc_map(const char *name)
return
&
map
->
map
;
}
EXPORT_SYMBOL_GPL
(
get_rc_map
);
EXPORT_SYMBOL_GPL
(
rc_map_get
);
int
ir_register_map
(
struct
rc_keymap
*
map
)
int
rc_map_register
(
struct
rc_map_list
*
map
)
{
spin_lock
(
&
rc_map_lock
);
list_add_tail
(
&
map
->
list
,
&
rc_map_list
);
spin_unlock
(
&
rc_map_lock
);
return
0
;
}
EXPORT_SYMBOL_GPL
(
ir_register_map
);
EXPORT_SYMBOL_GPL
(
rc_map_register
);
void
ir_unregister_map
(
struct
rc_keymap
*
map
)
void
rc_map_unregister
(
struct
rc_map_list
*
map
)
{
spin_lock
(
&
rc_map_lock
);
list_del
(
&
map
->
list
);
spin_unlock
(
&
rc_map_lock
);
}
EXPORT_SYMBOL_GPL
(
ir_unregister_map
);
EXPORT_SYMBOL_GPL
(
rc_map_unregister
);
static
struct
rc_map_table
empty
[]
=
{
{
0x2a
,
KEY_COFFEE
},
};
static
struct
rc_
keymap
empty_map
=
{
static
struct
rc_
map_list
empty_map
=
{
.
map
=
{
.
scan
=
empty
,
.
size
=
ARRAY_SIZE
(
empty
),
...
...
@@ -996,9 +996,9 @@ int rc_register_device(struct rc_dev *dev)
if
(
!
dev
||
!
dev
->
map_name
)
return
-
EINVAL
;
rc_map
=
get_rc_map
(
dev
->
map_name
);
rc_map
=
rc_map_get
(
dev
->
map_name
);
if
(
!
rc_map
)
rc_map
=
get_rc_map
(
RC_MAP_EMPTY
);
rc_map
=
rc_map_get
(
RC_MAP_EMPTY
);
if
(
!
rc_map
||
!
rc_map
->
scan
||
rc_map
->
size
==
0
)
return
-
EINVAL
;
...
...
@@ -1113,7 +1113,7 @@ static int __init rc_core_init(void)
/* Initialize/load the decoders/keymap code that will be used */
ir_raw_init
();
ir_register_map
(
&
empty_map
);
rc_map_register
(
&
empty_map
);
return
0
;
}
...
...
@@ -1121,7 +1121,7 @@ static int __init rc_core_init(void)
static
void
__exit
rc_core_exit
(
void
)
{
class_unregister
(
&
ir_input_class
);
ir_unregister_map
(
&
empty_map
);
rc_map_unregister
(
&
empty_map
);
}
module_init
(
rc_core_init
);
...
...
include/media/rc-map.h
浏览文件 @
d100e659
...
...
@@ -40,16 +40,16 @@ struct rc_map {
spinlock_t
lock
;
};
struct
rc_
keymap
{
struct
rc_
map_list
{
struct
list_head
list
;
struct
rc_map
map
;
};
/* Routines from rc-map.c */
int
ir_register_map
(
struct
rc_keymap
*
map
);
void
ir_unregister_map
(
struct
rc_keymap
*
map
);
struct
rc_map
*
get_rc_map
(
const
char
*
name
);
int
rc_map_register
(
struct
rc_map_list
*
map
);
void
rc_map_unregister
(
struct
rc_map_list
*
map
);
struct
rc_map
*
rc_map_get
(
const
char
*
name
);
void
rc_map_init
(
void
);
/* Names of the several keytables defined in-kernel */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录