V4L/DVB: ir-core: Make use of the new IR keymap modules
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / media / video / cx18 / cx18-i2c.c
index 476c016e63a8ffd61e885091a5e3c2f1fd08c863..cfa1f289b0f52050e1f2a127bd65248e7ca68a77 100644 (file)
@@ -109,7 +109,7 @@ static int cx18_i2c_new_ir(struct cx18 *cx, struct i2c_adapter *adap, u32 hw,
        /* Our default information for ir-kbd-i2c.c to use */
        switch (hw) {
        case CX18_HW_Z8F0811_IR_RX_HAUP:
-               init_data->ir_codes = &IR_KEYTABLE(hauppauge_new);
+               init_data->ir_codes = RC_MAP_HAUPPAUGE_NEW;
                init_data->internal_get_key_func = IR_KBD_GET_KEY_HAUP_XVR;
                init_data->type = IR_TYPE_RC5;
                init_data->name = cx->card_name;