Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202166
b: refs/heads/master
c: 4eebfb0
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 637a6ef commit f658c4d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 20d64443ecaaedb971193a305c32b672c81fc819
refs/heads/master: 4eebfb0a5f55ba7c4af33c2173862493d8845622
12 changes: 6 additions & 6 deletions trunk/drivers/media/IR/keymaps/rc-dib0700-nec.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#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 },
Expand Down Expand Up @@ -98,23 +98,23 @@ static struct ir_scancode dib0700_table[] = {
{ 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)
Expand Down
12 changes: 6 additions & 6 deletions trunk/drivers/media/IR/keymaps/rc-dib0700-rc5.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#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 */
Expand Down Expand Up @@ -209,23 +209,23 @@ static struct ir_scancode dib0700_table[] = {
{ 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)
Expand Down

0 comments on commit f658c4d

Please sign in to comment.