diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-09-30 10:17:54 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-25 08:35:02 -0200 |
commit | d5e90b7a6cd1ce9512f8a2c9b1be70155300d2da (patch) | |
tree | 5ed649d0bb9990e5b48cd6b4e3c83caf63c0d802 /drivers/media/usb/uvc/uvc_driver.c | |
parent | 59b702ea9f4467bf6b6281d5d21cebfc1fa11e8d (diff) | |
download | talos-obmc-linux-d5e90b7a6cd1ce9512f8a2c9b1be70155300d2da.tar.gz talos-obmc-linux-d5e90b7a6cd1ce9512f8a2c9b1be70155300d2da.zip |
[media] uvcvideo: Move to video_ioctl2
Simplify ioctl handling by using video_ioctl2.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvc_driver.c')
-rw-r--r-- | drivers/media/usb/uvc/uvc_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c index a327f3d09420..30163432a711 100644 --- a/drivers/media/usb/uvc/uvc_driver.c +++ b/drivers/media/usb/uvc/uvc_driver.c @@ -1760,6 +1760,7 @@ static int uvc_register_video(struct uvc_device *dev, */ vdev->v4l2_dev = &dev->vdev; vdev->fops = &uvc_fops; + vdev->ioctl_ops = &uvc_ioctl_ops; vdev->release = uvc_release; vdev->prio = &stream->chain->prio; if (stream->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) |