Skip to content

Commit

Permalink
Staging: solo6x10: fix build problem
Browse files Browse the repository at this point in the history
With commit 08bff03 (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>
  • Loading branch information
Greg Kroah-Hartman committed Nov 2, 2010
1 parent c8ddb27 commit 27d68fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/solo6x10/solo6010-v4l2-enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/solo6x10/solo6010-v4l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 27d68fb

Please sign in to comment.