diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-11-17 13:46:09 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:16:51 -0500 |
commit | 2f4f58d689dd71dea67407b74405a3c43e797cb1 (patch) | |
tree | 8f02ac4a3c8eccc99ee3dae8468e7e5f4c00995c /drivers/media/dvb/dvb-usb/cinergyT2-core.c | |
parent | b088ba658b3438056dab4d744701364db3f08b9a (diff) |
[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/dvb/dvb-usb/cinergyT2-core.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/cinergyT2-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/cinergyT2-core.c b/drivers/media/dvb/dvb-usb/cinergyT2-core.c index 4f5aa83fc1fc..16f2ce2bc15a 100644 --- a/drivers/media/dvb/dvb-usb/cinergyT2-core.c +++ b/drivers/media/dvb/dvb-usb/cinergyT2-core.c | |||
@@ -84,7 +84,7 @@ static int cinergyt2_frontend_attach(struct dvb_usb_adapter *adap) | |||
84 | return 0; | 84 | return 0; |
85 | } | 85 | } |
86 | 86 | ||
87 | static struct ir_scancode ir_codes_cinergyt2_table[] = { | 87 | static struct rc_map_table rc_map_cinergyt2_table[] = { |
88 | { 0x0401, KEY_POWER }, | 88 | { 0x0401, KEY_POWER }, |
89 | { 0x0402, KEY_1 }, | 89 | { 0x0402, KEY_1 }, |
90 | { 0x0403, KEY_2 }, | 90 | { 0x0403, KEY_2 }, |
@@ -219,8 +219,8 @@ static struct dvb_usb_device_properties cinergyt2_properties = { | |||
219 | 219 | ||
220 | .rc.legacy = { | 220 | .rc.legacy = { |
221 | .rc_interval = 50, | 221 | .rc_interval = 50, |
222 | .rc_key_map = ir_codes_cinergyt2_table, | 222 | .rc_map_table = rc_map_cinergyt2_table, |
223 | .rc_key_map_size = ARRAY_SIZE(ir_codes_cinergyt2_table), | 223 | .rc_map_size = ARRAY_SIZE(rc_map_cinergyt2_table), |
224 | .rc_query = cinergyt2_rc_query, | 224 | .rc_query = cinergyt2_rc_query, |
225 | }, | 225 | }, |
226 | 226 | ||