diff options
Diffstat (limited to 'drivers/media/video/w9968cf.c')
-rw-r--r-- | drivers/media/video/w9968cf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/w9968cf.c b/drivers/media/video/w9968cf.c index 840522442d0..168baabe465 100644 --- a/drivers/media/video/w9968cf.c +++ b/drivers/media/video/w9968cf.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <asm/page.h> | 42 | #include <asm/page.h> |
43 | #include <asm/uaccess.h> | 43 | #include <asm/uaccess.h> |
44 | #include <linux/page-flags.h> | 44 | #include <linux/page-flags.h> |
45 | #include <media/v4l2-ioctl.h> | ||
45 | 46 | ||
46 | #include "w9968cf.h" | 47 | #include "w9968cf.h" |
47 | #include "w9968cf_decoder.h" | 48 | #include "w9968cf_decoder.h" |
@@ -3549,13 +3550,11 @@ w9968cf_usb_probe(struct usb_interface* intf, const struct usb_device_id* id) | |||
3549 | } | 3550 | } |
3550 | 3551 | ||
3551 | strcpy(cam->v4ldev->name, symbolic(camlist, mod_id)); | 3552 | strcpy(cam->v4ldev->name, symbolic(camlist, mod_id)); |
3552 | cam->v4ldev->owner = THIS_MODULE; | ||
3553 | cam->v4ldev->type = VID_TYPE_CAPTURE | VID_TYPE_SCALES; | ||
3554 | cam->v4ldev->fops = &w9968cf_fops; | 3553 | cam->v4ldev->fops = &w9968cf_fops; |
3555 | cam->v4ldev->minor = video_nr[dev_nr]; | 3554 | cam->v4ldev->minor = video_nr[dev_nr]; |
3556 | cam->v4ldev->release = video_device_release; | 3555 | cam->v4ldev->release = video_device_release; |
3557 | video_set_drvdata(cam->v4ldev, cam); | 3556 | video_set_drvdata(cam->v4ldev, cam); |
3558 | cam->v4ldev->dev = &cam->dev; | 3557 | cam->v4ldev->parent = &cam->dev; |
3559 | 3558 | ||
3560 | err = video_register_device(cam->v4ldev, VFL_TYPE_GRABBER, | 3559 | err = video_register_device(cam->v4ldev, VFL_TYPE_GRABBER, |
3561 | video_nr[dev_nr]); | 3560 | video_nr[dev_nr]); |