diff options
author | Antti Palosaari <crope@iki.fi> | 2010-10-11 20:19:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 01:18:09 -0200 |
commit | 860d1e29205860ebab539e41011e765e1bc417a1 (patch) | |
tree | 4cf865a6c7ceb11d130096e5104e650eab959af4 | |
parent | c12d2f746b34baf9e97cae06a8757dc6be387e62 (diff) | |
download | op-kernel-dev-860d1e29205860ebab539e41011e765e1bc417a1.zip op-kernel-dev-860d1e29205860ebab539e41011e765e1bc417a1.tar.gz |
[media] rename rc-msi-digivox.c -> rc-msi-digivox-iii.c
Rename remote controller driver I added earlier.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/IR/keymaps/Makefile | 2 | ||||
-rw-r--r-- | drivers/media/IR/keymaps/rc-msi-digivox-iii.c (renamed from drivers/media/IR/keymaps/rc-msi-digivox.c) | 22 | ||||
-rw-r--r-- | include/media/rc-map.h | 2 |
3 files changed, 13 insertions, 13 deletions
diff --git a/drivers/media/IR/keymaps/Makefile b/drivers/media/IR/keymaps/Makefile index c3a8ab8..8053b20 100644 --- a/drivers/media/IR/keymaps/Makefile +++ b/drivers/media/IR/keymaps/Makefile @@ -46,8 +46,8 @@ obj-$(CONFIG_RC_MAP) += rc-adstech-dvb-t-pci.o \ rc-lirc.o \ rc-lme2510.o \ rc-manli.o \ - rc-msi-digivox.o \ rc-msi-digivox-ii.o \ + rc-msi-digivox-iii.o \ rc-msi-tvanywhere.o \ rc-msi-tvanywhere-plus.o \ rc-nebula.o \ diff --git a/drivers/media/IR/keymaps/rc-msi-digivox.c b/drivers/media/IR/keymaps/rc-msi-digivox-iii.c index 3ba3140..8ea3960 100644 --- a/drivers/media/IR/keymaps/rc-msi-digivox.c +++ b/drivers/media/IR/keymaps/rc-msi-digivox-iii.c @@ -24,7 +24,7 @@ /* Uses NEC extended 0x61d6. */ /* This remote seems to be same as rc-kworld-315u.c. Anyhow, add new remote since rc-kworld-315u.c lacks NEC extended address byte. */ -static struct ir_scancode msi_digivox[] = { +static struct ir_scancode msi_digivox_iii[] = { { 0x61d601, KEY_VIDEO }, /* Source */ { 0x61d602, KEY_3 }, { 0x61d603, KEY_POWER2 }, /* ShutDown */ @@ -59,27 +59,27 @@ static struct ir_scancode msi_digivox[] = { { 0x61d643, KEY_POWER }, /* [red power button] */ }; -static struct rc_keymap msi_digivox_map = { +static struct rc_keymap msi_digivox_iii_map = { .map = { - .scan = msi_digivox, - .size = ARRAY_SIZE(msi_digivox), + .scan = msi_digivox_iii, + .size = ARRAY_SIZE(msi_digivox_iii), .ir_type = IR_TYPE_NEC, - .name = RC_MAP_MSI_DIGIVOX, + .name = RC_MAP_MSI_DIGIVOX_III, } }; -static int __init init_rc_map_msi_digivox(void) +static int __init init_rc_map_msi_digivox_iii(void) { - return ir_register_map(&msi_digivox_map); + return ir_register_map(&msi_digivox_iii_map); } -static void __exit exit_rc_map_msi_digivox(void) +static void __exit exit_rc_map_msi_digivox_iii(void) { - ir_unregister_map(&msi_digivox_map); + ir_unregister_map(&msi_digivox_iii_map); } -module_init(init_rc_map_msi_digivox) -module_exit(exit_rc_map_msi_digivox) +module_init(init_rc_map_msi_digivox_iii) +module_exit(exit_rc_map_msi_digivox_iii) MODULE_LICENSE("GPL"); MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); diff --git a/include/media/rc-map.h b/include/media/rc-map.h index b319923..f9fe29a 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h @@ -103,8 +103,8 @@ void rc_map_init(void); #define RC_MAP_LIRC "rc-lirc" #define RC_MAP_LME2510 "rc-lme2510" #define RC_MAP_MANLI "rc-manli" -#define RC_MAP_MSI_DIGIVOX "rc-msi-digivox" #define RC_MAP_MSI_DIGIVOX_II "rc-msi-digivox-ii" +#define RC_MAP_MSI_DIGIVOX_III "rc-msi-digivox-iii" #define RC_MAP_MSI_TVANYWHERE_PLUS "rc-msi-tvanywhere-plus" #define RC_MAP_MSI_TVANYWHERE "rc-msi-tvanywhere" #define RC_MAP_NEBULA "rc-nebula" |