aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-jvc-decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/ir-jvc-decoder.c')
-rw-r--r--drivers/media/rc/ir-jvc-decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/ir-jvc-decoder.c b/drivers/media/rc/ir-jvc-decoder.c
index 09c143ff33f3..624449afaa61 100644
--- a/drivers/media/rc/ir-jvc-decoder.c
+++ b/drivers/media/rc/ir-jvc-decoder.c
@@ -46,7 +46,7 @@ static int ir_jvc_decode(struct rc_dev *dev, struct ir_raw_event ev)
46{ 46{
47 struct jvc_dec *data = &dev->raw->jvc; 47 struct jvc_dec *data = &dev->raw->jvc;
48 48
49 if (!(dev->raw->enabled_protocols & IR_TYPE_JVC)) 49 if (!(dev->raw->enabled_protocols & RC_TYPE_JVC))
50 return 0; 50 return 0;
51 51
52 if (!is_timing_event(ev)) { 52 if (!is_timing_event(ev)) {
@@ -173,7 +173,7 @@ out:
173} 173}
174 174
175static struct ir_raw_handler jvc_handler = { 175static struct ir_raw_handler jvc_handler = {
176 .protocols = IR_TYPE_JVC, 176 .protocols = RC_TYPE_JVC,
177 .decode = ir_jvc_decode, 177 .decode = ir_jvc_decode,
178}; 178};
179 179