diff options
author | Antti Palosaari <crope@iki.fi> | 2010-10-11 19:19:23 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-20 23:18:09 -0400 |
commit | 860d1e29205860ebab539e41011e765e1bc417a1 (patch) | |
tree | 4cf865a6c7ceb11d130096e5104e650eab959af4 | |
parent | c12d2f746b34baf9e97cae06a8757dc6be387e62 (diff) |
[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 c3a8ab875a74..8053b20474fe 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 \ | |||
46 | rc-lirc.o \ | 46 | rc-lirc.o \ |
47 | rc-lme2510.o \ | 47 | rc-lme2510.o \ |
48 | rc-manli.o \ | 48 | rc-manli.o \ |
49 | rc-msi-digivox.o \ | ||
50 | rc-msi-digivox-ii.o \ | 49 | rc-msi-digivox-ii.o \ |
50 | rc-msi-digivox-iii.o \ | ||
51 | rc-msi-tvanywhere.o \ | 51 | rc-msi-tvanywhere.o \ |
52 | rc-msi-tvanywhere-plus.o \ | 52 | rc-msi-tvanywhere-plus.o \ |
53 | rc-nebula.o \ | 53 | 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 3ba314052689..8ea3960347c3 100644 --- a/drivers/media/IR/keymaps/rc-msi-digivox.c +++ b/drivers/media/IR/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. */ |
27 | static struct ir_scancode msi_digivox[] = { | 27 | static struct ir_scancode msi_digivox_iii[] = { |
28 | { 0x61d601, KEY_VIDEO }, /* Source */ | 28 | { 0x61d601, KEY_VIDEO }, /* Source */ |
29 | { 0x61d602, KEY_3 }, | 29 | { 0x61d602, KEY_3 }, |
30 | { 0x61d603, KEY_POWER2 }, /* ShutDown */ | 30 | { 0x61d603, KEY_POWER2 }, /* ShutDown */ |
@@ -59,27 +59,27 @@ static struct ir_scancode msi_digivox[] = { | |||
59 | { 0x61d643, KEY_POWER }, /* [red power button] */ | 59 | { 0x61d643, KEY_POWER }, /* [red power button] */ |
60 | }; | 60 | }; |
61 | 61 | ||
62 | static struct rc_keymap msi_digivox_map = { | 62 | static struct rc_keymap msi_digivox_iii_map = { |
63 | .map = { | 63 | .map = { |
64 | .scan = msi_digivox, | 64 | .scan = msi_digivox_iii, |
65 | .size = ARRAY_SIZE(msi_digivox), | 65 | .size = ARRAY_SIZE(msi_digivox_iii), |
66 | .ir_type = IR_TYPE_NEC, | 66 | .ir_type = IR_TYPE_NEC, |
67 | .name = RC_MAP_MSI_DIGIVOX, | 67 | .name = RC_MAP_MSI_DIGIVOX_III, |
68 | } | 68 | } |
69 | }; | 69 | }; |
70 | 70 | ||
71 | static int __init init_rc_map_msi_digivox(void) | 71 | static int __init init_rc_map_msi_digivox_iii(void) |
72 | { | 72 | { |
73 | return ir_register_map(&msi_digivox_map); | 73 | return ir_register_map(&msi_digivox_iii_map); |
74 | } | 74 | } |
75 | 75 | ||
76 | static void __exit exit_rc_map_msi_digivox(void) | 76 | static void __exit exit_rc_map_msi_digivox_iii(void) |
77 | { | 77 | { |
78 | ir_unregister_map(&msi_digivox_map); | 78 | ir_unregister_map(&msi_digivox_iii_map); |
79 | } | 79 | } |
80 | 80 | ||
81 | module_init(init_rc_map_msi_digivox) | 81 | module_init(init_rc_map_msi_digivox_iii) |
82 | module_exit(exit_rc_map_msi_digivox) | 82 | module_exit(exit_rc_map_msi_digivox_iii) |
83 | 83 | ||
84 | MODULE_LICENSE("GPL"); | 84 | MODULE_LICENSE("GPL"); |
85 | MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); | 85 | MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); |
diff --git a/include/media/rc-map.h b/include/media/rc-map.h index b31992323c24..f9fe29afe3df 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h | |||
@@ -103,8 +103,8 @@ void rc_map_init(void); | |||
103 | #define RC_MAP_LIRC "rc-lirc" | 103 | #define RC_MAP_LIRC "rc-lirc" |
104 | #define RC_MAP_LME2510 "rc-lme2510" | 104 | #define RC_MAP_LME2510 "rc-lme2510" |
105 | #define RC_MAP_MANLI "rc-manli" | 105 | #define RC_MAP_MANLI "rc-manli" |
106 | #define RC_MAP_MSI_DIGIVOX "rc-msi-digivox" | ||
107 | #define RC_MAP_MSI_DIGIVOX_II "rc-msi-digivox-ii" | 106 | #define RC_MAP_MSI_DIGIVOX_II "rc-msi-digivox-ii" |
107 | #define RC_MAP_MSI_DIGIVOX_III "rc-msi-digivox-iii" | ||
108 | #define RC_MAP_MSI_TVANYWHERE_PLUS "rc-msi-tvanywhere-plus" | 108 | #define RC_MAP_MSI_TVANYWHERE_PLUS "rc-msi-tvanywhere-plus" |
109 | #define RC_MAP_MSI_TVANYWHERE "rc-msi-tvanywhere" | 109 | #define RC_MAP_MSI_TVANYWHERE "rc-msi-tvanywhere" |
110 | #define RC_MAP_NEBULA "rc-nebula" | 110 | #define RC_MAP_NEBULA "rc-nebula" |