aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ir-kbd-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/ir-kbd-i2c.c')
-rw-r--r--drivers/media/i2c/ir-kbd-i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/i2c/ir-kbd-i2c.c b/drivers/media/i2c/ir-kbd-i2c.c
index 99ee456700f4..c8fe1358ec9e 100644
--- a/drivers/media/i2c/ir-kbd-i2c.c
+++ b/drivers/media/i2c/ir-kbd-i2c.c
@@ -431,8 +431,8 @@ static int ir_probe(struct i2c_client *client, const struct i2c_device_id *id)
431 * Initialize the other fields of rc_dev 431 * Initialize the other fields of rc_dev
432 */ 432 */
433 rc->map_name = ir->ir_codes; 433 rc->map_name = ir->ir_codes;
434 rc->allowed_protos = rc_type; 434 rc_set_allowed_protocols(rc, rc_type);
435 rc->enabled_protocols = rc_type; 435 rc_set_enabled_protocols(rc, rc_type);
436 if (!rc->driver_name) 436 if (!rc->driver_name)
437 rc->driver_name = MODULE_NAME; 437 rc->driver_name = MODULE_NAME;
438 438