1
0

[media] rc: Rename remote controller type to rc_type instead of ir_type

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_TYPE,RC_TYPE,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_type,rc_type,g <$i >a && mv a $i; done

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Este cometimento está contido em:
Mauro Carvalho Chehab
2010-11-17 14:20:52 -03:00
ascendente 29e3ec19d5
cometimento 52b661449a
119 ficheiros modificados com 249 adições e 249 eliminações

Ver ficheiro

@@ -51,7 +51,7 @@ static int ir_rc5_decode(struct rc_dev *dev, struct ir_raw_event ev)
u8 toggle;
u32 scancode;
if (!(dev->raw->enabled_protocols & IR_TYPE_RC5))
if (!(dev->raw->enabled_protocols & RC_TYPE_RC5))
return 0;
if (!is_timing_event(ev)) {
@@ -163,7 +163,7 @@ out:
}
static struct ir_raw_handler rc5_handler = {
.protocols = IR_TYPE_RC5,
.protocols = RC_TYPE_RC5,
.decode = ir_rc5_decode,
};