diff options
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
-rw-r--r-- | drivers/media/usb/pwc/pwc-if.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/pwc/pwc-if.c b/drivers/media/usb/pwc/pwc-if.c index 4e94197094ad..a1bd1cb5924b 100644 --- a/drivers/media/usb/pwc/pwc-if.c +++ b/drivers/media/usb/pwc/pwc-if.c | |||
@@ -1125,6 +1125,8 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id | |||
1125 | pdev->v4l2_dev.ctrl_handler = &pdev->ctrl_handler; | 1125 | pdev->v4l2_dev.ctrl_handler = &pdev->ctrl_handler; |
1126 | pdev->vdev.v4l2_dev = &pdev->v4l2_dev; | 1126 | pdev->vdev.v4l2_dev = &pdev->v4l2_dev; |
1127 | pdev->vdev.lock = &pdev->v4l2_lock; | 1127 | pdev->vdev.lock = &pdev->v4l2_lock; |
1128 | pdev->vdev.device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING | | ||
1129 | V4L2_CAP_READWRITE; | ||
1128 | 1130 | ||
1129 | rc = video_register_device(&pdev->vdev, VFL_TYPE_GRABBER, -1); | 1131 | rc = video_register_device(&pdev->vdev, VFL_TYPE_GRABBER, -1); |
1130 | if (rc < 0) { | 1132 | if (rc < 0) { |