diff options
Diffstat (limited to 'drivers/media/video/stv680.c')
-rw-r--r-- | drivers/media/video/stv680.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/stv680.c b/drivers/media/video/stv680.c index 6a91714125d..5938ad8702e 100644 --- a/drivers/media/video/stv680.c +++ b/drivers/media/video/stv680.c | |||
@@ -1405,7 +1405,6 @@ static struct video_device stv680_template = { | |||
1405 | .name = "STV0680 USB camera", | 1405 | .name = "STV0680 USB camera", |
1406 | .fops = &stv680_fops, | 1406 | .fops = &stv680_fops, |
1407 | .release = video_device_release, | 1407 | .release = video_device_release, |
1408 | .minor = -1, | ||
1409 | }; | 1408 | }; |
1410 | 1409 | ||
1411 | static int stv680_probe (struct usb_interface *intf, const struct usb_device_id *id) | 1410 | static int stv680_probe (struct usb_interface *intf, const struct usb_device_id *id) |
@@ -1467,8 +1466,8 @@ static int stv680_probe (struct usb_interface *intf, const struct usb_device_id | |||
1467 | retval = -EIO; | 1466 | retval = -EIO; |
1468 | goto error_vdev; | 1467 | goto error_vdev; |
1469 | } | 1468 | } |
1470 | PDEBUG(0, "STV(i): registered new video device: video%d", | 1469 | PDEBUG(0, "STV(i): registered new video device: %s", |
1471 | stv680->vdev->num); | 1470 | video_device_node_name(stv680->vdev)); |
1472 | 1471 | ||
1473 | usb_set_intfdata (intf, stv680); | 1472 | usb_set_intfdata (intf, stv680); |
1474 | retval = stv680_create_sysfs_files(stv680->vdev); | 1473 | retval = stv680_create_sysfs_files(stv680->vdev); |