aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-rc6-decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/ir-rc6-decoder.c')
-rw-r--r--drivers/media/rc/ir-rc6-decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/ir-rc6-decoder.c b/drivers/media/rc/ir-rc6-decoder.c
index 88d948728c2f..755dafa3871b 100644
--- a/drivers/media/rc/ir-rc6-decoder.c
+++ b/drivers/media/rc/ir-rc6-decoder.c
@@ -81,7 +81,7 @@ static int ir_rc6_decode(struct rc_dev *dev, struct ir_raw_event ev)
81 u32 scancode; 81 u32 scancode;
82 u8 toggle; 82 u8 toggle;
83 83
84 if (!(dev->raw->enabled_protocols & IR_TYPE_RC6)) 84 if (!(dev->raw->enabled_protocols & RC_TYPE_RC6))
85 return 0; 85 return 0;
86 86
87 if (!is_timing_event(ev)) { 87 if (!is_timing_event(ev)) {
@@ -255,7 +255,7 @@ out:
255} 255}
256 256
257static struct ir_raw_handler rc6_handler = { 257static struct ir_raw_handler rc6_handler = {
258 .protocols = IR_TYPE_RC6, 258 .protocols = RC_TYPE_RC6,
259 .decode = ir_rc6_decode, 259 .decode = ir_rc6_decode,
260}; 260};
261 261