aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/s2255/s2255drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/s2255/s2255drv.c')
-rw-r--r--drivers/media/usb/s2255/s2255drv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/usb/s2255/s2255drv.c b/drivers/media/usb/s2255/s2255drv.c
index de55e96fed15..0f3c34d47ec3 100644
--- a/drivers/media/usb/s2255/s2255drv.c
+++ b/drivers/media/usb/s2255/s2255drv.c
@@ -2274,9 +2274,7 @@ static int s2255_probe(struct usb_interface *interface,
2274 dev_err(&interface->dev, "Could not find bulk-in endpoint\n"); 2274 dev_err(&interface->dev, "Could not find bulk-in endpoint\n");
2275 goto errorEP; 2275 goto errorEP;
2276 } 2276 }
2277 init_timer(&dev->timer); 2277 setup_timer(&dev->timer, s2255_timer, (unsigned long)dev->fw_data);
2278 dev->timer.function = s2255_timer;
2279 dev->timer.data = (unsigned long)dev->fw_data;
2280 init_waitqueue_head(&dev->fw_data->wait_fw); 2278 init_waitqueue_head(&dev->fw_data->wait_fw);
2281 for (i = 0; i < MAX_CHANNELS; i++) { 2279 for (i = 0; i < MAX_CHANNELS; i++) {
2282 struct s2255_vc *vc = &dev->vc[i]; 2280 struct s2255_vc *vc = &dev->vc[i];