summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/siano/smsir.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/siano/smsir.c')
-rw-r--r--drivers/media/common/siano/smsir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/siano/smsir.c b/drivers/media/common/siano/smsir.c
index b8c5cad78537..6d7c0c858bd0 100644
--- a/drivers/media/common/siano/smsir.c
+++ b/drivers/media/common/siano/smsir.c
@@ -88,7 +88,7 @@ int sms_ir_init(struct smscore_device_t *coredev)
dev->priv = coredev;
dev->driver_type = RC_DRIVER_IR_RAW;
- dev->allowed_protos = RC_BIT_ALL;
+ rc_set_allowed_protocols(dev, RC_BIT_ALL);
dev->map_name = sms_get_board(board_id)->rc_codes;
dev->driver_name = MODULE_NAME;