#include <media/rc-map.h>
-static struct ir_scancode dib0700_table[] = {
+static struct ir_scancode dib0700_nec_table[] = {
/* Key codes for the Pixelview SBTVD remote */
{ 0x8613, KEY_MUTE },
{ 0x8612, KEY_POWER },
{ 0x4542, KEY_SELECT }, /* Select video input, 'Select' for Teletext */
};
-static struct rc_keymap dib0700_map = {
+static struct rc_keymap dib0700_nec_map = {
.map = {
- .scan = dib0700_table,
- .size = ARRAY_SIZE(dib0700_table),
+ .scan = dib0700_nec_table,
+ .size = ARRAY_SIZE(dib0700_nec_table),
.ir_type = IR_TYPE_NEC,
.name = RC_MAP_DIB0700_NEC_TABLE,
}
static int __init init_rc_map(void)
{
- return ir_register_map(&dib0700_map);
+ return ir_register_map(&dib0700_nec_map);
}
static void __exit exit_rc_map(void)
{
- ir_unregister_map(&dib0700_map);
+ ir_unregister_map(&dib0700_nec_map);
}
module_init(init_rc_map)
#include <media/rc-map.h>
-static struct ir_scancode dib0700_table[] = {
+static struct ir_scancode dib0700_rc5_table[] = {
/* Key codes for the tiny Pinnacle remote*/
{ 0x0700, KEY_MUTE },
{ 0x0701, KEY_MENU }, /* Pinnacle logo */
{ 0x1d3d, KEY_POWER },
};
-static struct rc_keymap dib0700_map = {
+static struct rc_keymap dib0700_rc5_map = {
.map = {
- .scan = dib0700_table,
- .size = ARRAY_SIZE(dib0700_table),
+ .scan = dib0700_rc5_table,
+ .size = ARRAY_SIZE(dib0700_rc5_table),
.ir_type = IR_TYPE_RC5,
.name = RC_MAP_DIB0700_RC5_TABLE,
}
static int __init init_rc_map(void)
{
- return ir_register_map(&dib0700_map);
+ return ir_register_map(&dib0700_rc5_map);
}
static void __exit exit_rc_map(void)
{
- ir_unregister_map(&dib0700_map);
+ ir_unregister_map(&dib0700_rc5_map);
}
module_init(init_rc_map)