diff options
Diffstat (limited to 'drivers/media/usb/uvc/uvc_queue.c')
-rw-r--r-- | drivers/media/usb/uvc/uvc_queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/uvc/uvc_queue.c b/drivers/media/usb/uvc/uvc_queue.c index b49bcab0c38c..cfb868a48b5f 100644 --- a/drivers/media/usb/uvc/uvc_queue.c +++ b/drivers/media/usb/uvc/uvc_queue.c | |||
@@ -69,10 +69,11 @@ static void uvc_queue_return_buffers(struct uvc_video_queue *queue, | |||
69 | * videobuf2 queue operations | 69 | * videobuf2 queue operations |
70 | */ | 70 | */ |
71 | 71 | ||
72 | static int uvc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, | 72 | static int uvc_queue_setup(struct vb2_queue *vq, const void *parg, |
73 | unsigned int *nbuffers, unsigned int *nplanes, | 73 | unsigned int *nbuffers, unsigned int *nplanes, |
74 | unsigned int sizes[], void *alloc_ctxs[]) | 74 | unsigned int sizes[], void *alloc_ctxs[]) |
75 | { | 75 | { |
76 | const struct v4l2_format *fmt = parg; | ||
76 | struct uvc_video_queue *queue = vb2_get_drv_priv(vq); | 77 | struct uvc_video_queue *queue = vb2_get_drv_priv(vq); |
77 | struct uvc_streaming *stream = uvc_queue_to_stream(queue); | 78 | struct uvc_streaming *stream = uvc_queue_to_stream(queue); |
78 | 79 | ||