aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-rc5-sz-decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/ir-rc5-sz-decoder.c')
-rw-r--r--drivers/media/rc/ir-rc5-sz-decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/ir-rc5-sz-decoder.c b/drivers/media/rc/ir-rc5-sz-decoder.c
index 5586bf20c8d7..90aa8868629a 100644
--- a/drivers/media/rc/ir-rc5-sz-decoder.c
+++ b/drivers/media/rc/ir-rc5-sz-decoder.c
@@ -47,7 +47,7 @@ static int ir_rc5_sz_decode(struct rc_dev *dev, struct ir_raw_event ev)
47 u8 toggle, command, system; 47 u8 toggle, command, system;
48 u32 scancode; 48 u32 scancode;
49 49
50 if (!(dev->raw->enabled_protocols & IR_TYPE_RC5_SZ)) 50 if (!(dev->raw->enabled_protocols & RC_TYPE_RC5_SZ))
51 return 0; 51 return 0;
52 52
53 if (!is_timing_event(ev)) { 53 if (!is_timing_event(ev)) {
@@ -127,7 +127,7 @@ out:
127} 127}
128 128
129static struct ir_raw_handler rc5_sz_handler = { 129static struct ir_raw_handler rc5_sz_handler = {
130 .protocols = IR_TYPE_RC5_SZ, 130 .protocols = RC_TYPE_RC5_SZ,
131 .decode = ir_rc5_sz_decode, 131 .decode = ir_rc5_sz_decode,
132}; 132};
133 133