diff options
Diffstat (limited to 'drivers/media/video/usbvideo/vicam.c')
-rw-r--r-- | drivers/media/video/usbvideo/vicam.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/usbvideo/vicam.c b/drivers/media/video/usbvideo/vicam.c index 45fce39ec9a..6030410c667 100644 --- a/drivers/media/video/usbvideo/vicam.c +++ b/drivers/media/video/usbvideo/vicam.c | |||
@@ -796,7 +796,6 @@ static const struct v4l2_file_operations vicam_fops = { | |||
796 | static struct video_device vicam_template = { | 796 | static struct video_device vicam_template = { |
797 | .name = "ViCam-based USB Camera", | 797 | .name = "ViCam-based USB Camera", |
798 | .fops = &vicam_fops, | 798 | .fops = &vicam_fops, |
799 | .minor = -1, | ||
800 | .release = video_device_release_empty, | 799 | .release = video_device_release_empty, |
801 | }; | 800 | }; |
802 | 801 | ||
@@ -873,8 +872,8 @@ vicam_probe( struct usb_interface *intf, const struct usb_device_id *id) | |||
873 | return -EIO; | 872 | return -EIO; |
874 | } | 873 | } |
875 | 874 | ||
876 | printk(KERN_INFO "ViCam webcam driver now controlling video device %d\n", | 875 | printk(KERN_INFO "ViCam webcam driver now controlling device %s\n", |
877 | cam->vdev.num); | 876 | video_device_node_name(&cam->vdev)); |
878 | 877 | ||
879 | usb_set_intfdata (intf, cam); | 878 | usb_set_intfdata (intf, cam); |
880 | 879 | ||