diff options
Diffstat (limited to 'drivers/media/rc/rc-main.c')
-rw-r--r-- | drivers/media/rc/rc-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 5b4422ef4e6d..5ac1baf45c8e 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c | |||
@@ -966,8 +966,8 @@ struct rc_dev *rc_allocate_device(void) | |||
966 | return NULL; | 966 | return NULL; |
967 | } | 967 | } |
968 | 968 | ||
969 | dev->input_dev->getkeycode_new = ir_getkeycode; | 969 | dev->input_dev->getkeycode = ir_getkeycode; |
970 | dev->input_dev->setkeycode_new = ir_setkeycode; | 970 | dev->input_dev->setkeycode = ir_setkeycode; |
971 | input_set_drvdata(dev->input_dev, dev); | 971 | input_set_drvdata(dev->input_dev, dev); |
972 | 972 | ||
973 | spin_lock_init(&dev->rc_map.lock); | 973 | spin_lock_init(&dev->rc_map.lock); |