]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/media/ir-kbd-i2c.h
V4L/DVB (10939): ir-kbd-i2c: Prevent general protection fault on rmmod
[linux-2.6-omap-h63xx.git] / include / media / ir-kbd-i2c.h
index 00fa57eb9fde928fc04d440ae39cdde2205266ee..07963d7054008be6490f79ee91a4f9740900e5d6 100644 (file)
@@ -14,8 +14,7 @@ struct IR_i2c {
        /* Used to avoid fast repeating */
        unsigned char          old;
 
-       struct work_struct     work;
-       struct timer_list      timer;
+       struct delayed_work    work;
        char                   phys[32];
        int                    (*get_key)(struct IR_i2c*, u32*, u32*);
 };