diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-02-17 09:44:07 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-02 21:05:55 +0100 |
commit | 9945eb9fad4edba2893d15cd720a702e6281ce19 (patch) | |
tree | 4435f9807551e1ada43acd5966bb19d6f68fc84c | |
parent | [media] uvc gadget: switch to v4l2 core locking (diff) | |
download | linux-9945eb9fad4edba2893d15cd720a702e6281ce19.tar.xz linux-9945eb9fad4edba2893d15cd720a702e6281ce19.zip |
[media] uvc gadget: switch to unlocked_ioctl
Instead of .ioctl use unlocked_ioctl. This allows us to finally remove
the old .ioctl op.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r-- | drivers/usb/gadget/function/uvc_v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/uvc_v4l2.c b/drivers/usb/gadget/function/uvc_v4l2.c index 0bd696510cf8..5a84e51675d1 100644 --- a/drivers/usb/gadget/function/uvc_v4l2.c +++ b/drivers/usb/gadget/function/uvc_v4l2.c @@ -357,7 +357,7 @@ struct v4l2_file_operations uvc_v4l2_fops = { .owner = THIS_MODULE, .open = uvc_v4l2_open, .release = uvc_v4l2_release, - .ioctl = video_ioctl2, + .unlocked_ioctl = video_ioctl2, .mmap = uvc_v4l2_mmap, .poll = uvc_v4l2_poll, #ifndef CONFIG_MMU |