summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-powercolor-real-angel.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2010-11-17 19:46:09 +0100
committerMauro Carvalho Chehab2010-12-29 11:16:51 +0100
commit2f4f58d689dd71dea67407b74405a3c43e797cb1 (patch)
tree8f02ac4a3c8eccc99ee3dae8468e7e5f4c00995c /drivers/media/rc/keymaps/rc-powercolor-real-angel.c
parent[media] rc: Properly name the rc_map struct (diff)
downloadkernel-qcow2-linux-2f4f58d689dd71dea67407b74405a3c43e797cb1.tar.gz
kernel-qcow2-linux-2f4f58d689dd71dea67407b74405a3c43e797cb1.tar.xz
kernel-qcow2-linux-2f4f58d689dd71dea67407b74405a3c43e797cb1.zip
[media] rc: Name RC keymap tables as rc_map_table
Remote keytables had different names all over the place. Part of the fault is due to a bad naming when rc subsystem was created, but there were lots of old names that were still here. Use a common standard for everything. Patch generated by this script: for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,ir_scancode,rc_map_table,g <$i >a && mv a $i; done for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,ir_codes_,rc_map_,g <$i >a && mv a $i; done for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,rc_key_map,rc_map_table,g <$i >a && mv a $i; done for i in `find drivers/staging -type f -name *.[ch]` `find include/media -type f -name *.[ch]` `find drivers/media -type f -name *.[ch]`; do sed s,rc_map_table_size,rc_map_size,g <$i >a && mv a $i; done Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/keymaps/rc-powercolor-real-angel.c')
-rw-r--r--drivers/media/rc/keymaps/rc-powercolor-real-angel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/keymaps/rc-powercolor-real-angel.c b/drivers/media/rc/keymaps/rc-powercolor-real-angel.c
index 4eec4371f7d1..7cc0d57df3be 100644
--- a/drivers/media/rc/keymaps/rc-powercolor-real-angel.c
+++ b/drivers/media/rc/keymaps/rc-powercolor-real-angel.c
@@ -17,7 +17,7 @@
* Daniel Fraga <fragabr@gmail.com>
*/
-static struct ir_scancode powercolor_real_angel[] = {
+static struct rc_map_table powercolor_real_angel[] = {
{ 0x38, KEY_SWITCHVIDEOMODE }, /* switch inputs */
{ 0x0c, KEY_MEDIA }, /* Turn ON/OFF App */
{ 0x00, KEY_0 },