[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:
@@ -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,
|
||||
};
|
||||
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador