mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
Staging: solo6x10: fix build problem
With commit 08bff03ed697a583612b62a6ac566bd5bce98012 (V4L/DVB: videobuf: add ext_lock argument to the queue init functions) videobuf_queue_sg_init() changed to need another paramater. This patch fixes that issue. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
c8ddb2713c
commit
27d68fbbd5
@ -766,7 +766,7 @@ static int solo_enc_open(struct file *file)
|
||||
&solo_enc->lock,
|
||||
V4L2_BUF_TYPE_VIDEO_CAPTURE,
|
||||
V4L2_FIELD_INTERLACED,
|
||||
sizeof(struct videobuf_buffer), fh);
|
||||
sizeof(struct videobuf_buffer), fh, NULL);
|
||||
|
||||
spin_unlock(&solo_enc->lock);
|
||||
|
||||
|
@ -437,7 +437,7 @@ static int solo_v4l2_open(struct file *file)
|
||||
&solo_dev->pdev->dev, &fh->slock,
|
||||
V4L2_BUF_TYPE_VIDEO_CAPTURE,
|
||||
SOLO_DISP_PIX_FIELD,
|
||||
sizeof(struct videobuf_buffer), fh);
|
||||
sizeof(struct videobuf_buffer), fh, NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user