diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-video.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index 8b293a3357b2..c30356bb35e9 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -776,14 +776,14 @@ static int video_open(struct inode *inode, struct file *file) | |||
776 | fh->height = 240; | 776 | fh->height = 240; |
777 | fh->fmt = format_by_fourcc(V4L2_PIX_FMT_BGR24); | 777 | fh->fmt = format_by_fourcc(V4L2_PIX_FMT_BGR24); |
778 | 778 | ||
779 | videobuf_queue_pci_init(&fh->vidq, &cx8800_video_qops, | 779 | videobuf_queue_sg_init(&fh->vidq, &cx8800_video_qops, |
780 | dev->pci, &dev->slock, | 780 | &dev->pci->dev, &dev->slock, |
781 | V4L2_BUF_TYPE_VIDEO_CAPTURE, | 781 | V4L2_BUF_TYPE_VIDEO_CAPTURE, |
782 | V4L2_FIELD_INTERLACED, | 782 | V4L2_FIELD_INTERLACED, |
783 | sizeof(struct cx88_buffer), | 783 | sizeof(struct cx88_buffer), |
784 | fh); | 784 | fh); |
785 | videobuf_queue_pci_init(&fh->vbiq, &cx8800_vbi_qops, | 785 | videobuf_queue_sg_init(&fh->vbiq, &cx8800_vbi_qops, |
786 | dev->pci, &dev->slock, | 786 | &dev->pci->dev, &dev->slock, |
787 | V4L2_BUF_TYPE_VBI_CAPTURE, | 787 | V4L2_BUF_TYPE_VBI_CAPTURE, |
788 | V4L2_FIELD_SEQ_TB, | 788 | V4L2_FIELD_SEQ_TB, |
789 | sizeof(struct cx88_buffer), | 789 | sizeof(struct cx88_buffer), |