Merge tag 'sound-fix-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[firefly-linux-kernel-4.4.55.git] / include / media / ir-kbd-i2c.h
index e221bc74020b2f5505e02f114789bb24a46d2fd1..d8564354debb4391a0193997280653a2cd288bc7 100644 (file)
@@ -20,7 +20,8 @@ struct IR_i2c {
        struct delayed_work    work;
        char                   name[32];
        char                   phys[32];
-       int                    (*get_key)(struct IR_i2c*, u32*, u32*);
+       int                    (*get_key)(struct IR_i2c *ir, enum rc_type *protocol,
+                                         u32 *scancode, u8 *toggle);
 };
 
 enum ir_kbd_get_key_fn {
@@ -44,7 +45,8 @@ struct IR_i2c_init_data {
         * Specify either a function pointer or a value indicating one of
         * ir_kbd_i2c's internal get_key functions
         */
-       int                    (*get_key)(struct IR_i2c*, u32*, u32*);
+       int                    (*get_key)(struct IR_i2c *ir, enum rc_type *protocol,
+                                         u32 *scancode, u8 *toggle);
        enum ir_kbd_get_key_fn internal_get_key_func;
 
        struct rc_dev           *rc_dev;