[media] ir-core: make struct rc_dev the primary interface
[deliverable/linux.git] / include / media / ir-kbd-i2c.h
index 557c676ab7dc9b93bc459797eafb17cffa4c6d55..4ee9b42cbf723ae303f44c800e3473e639e7e5e2 100644 (file)
@@ -9,11 +9,9 @@ struct IR_i2c;
 
 struct IR_i2c {
        char                   *ir_codes;
-
        struct i2c_client      *c;
-       struct input_dev       *input;
-       struct ir_input_state  ir;
-       u64                    ir_type;
+       struct rc_dev          *rc;
+
        /* Used to avoid fast repeating */
        unsigned char          old;
 
@@ -41,6 +39,7 @@ struct IR_i2c_init_data {
        const char              *name;
        u64                     type; /* IR_TYPE_RC5, etc */
        u32                     polling_interval; /* 0 means DEFAULT_POLLING_INTERVAL */
+
        /*
         * Specify either a function pointer or a value indicating one of
         * ir_kbd_i2c's internal get_key functions
This page took 0.023473 seconds and 5 git commands to generate.