diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-11-17 12:20:52 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:16:50 -0500 |
commit | 52b661449aecc47e652a164c0d8078b31e10aca0 (patch) | |
tree | 42af14cf5b6df82b841ec4bf38f22da54fc4439b /drivers/media/rc/ir-nec-decoder.c | |
parent | 29e3ec19d5c88d534ced219d3962d67243e4d310 (diff) |
[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>
Diffstat (limited to 'drivers/media/rc/ir-nec-decoder.c')
-rw-r--r-- | drivers/media/rc/ir-nec-decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/ir-nec-decoder.c b/drivers/media/rc/ir-nec-decoder.c index 235d774d0ec2..5d15c31288b9 100644 --- a/drivers/media/rc/ir-nec-decoder.c +++ b/drivers/media/rc/ir-nec-decoder.c | |||
@@ -50,7 +50,7 @@ static int ir_nec_decode(struct rc_dev *dev, struct ir_raw_event ev) | |||
50 | u32 scancode; | 50 | u32 scancode; |
51 | u8 address, not_address, command, not_command; | 51 | u8 address, not_address, command, not_command; |
52 | 52 | ||
53 | if (!(dev->raw->enabled_protocols & IR_TYPE_NEC)) | 53 | if (!(dev->raw->enabled_protocols & RC_TYPE_NEC)) |
54 | return 0; | 54 | return 0; |
55 | 55 | ||
56 | if (!is_timing_event(ev)) { | 56 | if (!is_timing_event(ev)) { |
@@ -190,7 +190,7 @@ static int ir_nec_decode(struct rc_dev *dev, struct ir_raw_event ev) | |||
190 | } | 190 | } |
191 | 191 | ||
192 | static struct ir_raw_handler nec_handler = { | 192 | static struct ir_raw_handler nec_handler = { |
193 | .protocols = IR_TYPE_NEC, | 193 | .protocols = RC_TYPE_NEC, |
194 | .decode = ir_nec_decode, | 194 | .decode = ir_nec_decode, |
195 | }; | 195 | }; |
196 | 196 | ||