Fix an OOPS when initializing IR remote on saa7134
authorDmitry Torokhov <dtor_core@ameritech.net>
Sun, 20 Nov 2005 05:56:54 +0000 (00:56 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sun, 20 Nov 2005 05:56:54 +0000 (00:56 -0500)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/media/video/saa7134/saa7134-input.c

index e648cc3bc96d33220527a7bd409034370ae72e4c..ab75ca5ac356b16862b0957f9a85d56dd5f650b4 100644 (file)
@@ -713,6 +713,8 @@ int saa7134_input_init1(struct saa7134_dev *dev)
                return -ENOMEM;
        }
 
+       ir->dev = input_dev;
+
        /* init hardware-specific stuff */
        ir->mask_keycode = mask_keycode;
        ir->mask_keydown = mask_keydown;