diff options
Diffstat (limited to 'drivers/media/rc/ir-sony-decoder.c')
-rw-r--r-- | drivers/media/rc/ir-sony-decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/ir-sony-decoder.c b/drivers/media/rc/ir-sony-decoder.c index 5292b89f8de2..a92de80c48db 100644 --- a/drivers/media/rc/ir-sony-decoder.c +++ b/drivers/media/rc/ir-sony-decoder.c | |||
@@ -44,7 +44,7 @@ static int ir_sony_decode(struct rc_dev *dev, struct ir_raw_event ev) | |||
44 | u32 scancode; | 44 | u32 scancode; |
45 | u8 device, subdevice, function; | 45 | u8 device, subdevice, function; |
46 | 46 | ||
47 | if (!(dev->raw->enabled_protocols & IR_TYPE_SONY)) | 47 | if (!(dev->raw->enabled_protocols & RC_TYPE_SONY)) |
48 | return 0; | 48 | return 0; |
49 | 49 | ||
50 | if (!is_timing_event(ev)) { | 50 | if (!is_timing_event(ev)) { |
@@ -156,7 +156,7 @@ out: | |||
156 | } | 156 | } |
157 | 157 | ||
158 | static struct ir_raw_handler sony_handler = { | 158 | static struct ir_raw_handler sony_handler = { |
159 | .protocols = IR_TYPE_SONY, | 159 | .protocols = RC_TYPE_SONY, |
160 | .decode = ir_sony_decode, | 160 | .decode = ir_sony_decode, |
161 | }; | 161 | }; |
162 | 162 | ||