diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index a9fc2695b157..f0ea9b5cdbc2 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -90,7 +90,7 @@ static int dvb_buf_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, | |||
90 | enum v4l2_field field) | 90 | enum v4l2_field field) |
91 | { | 91 | { |
92 | struct cx8802_dev *dev = q->priv_data; | 92 | struct cx8802_dev *dev = q->priv_data; |
93 | return cx8802_buf_prepare(dev, (struct cx88_buffer*)vb,field); | 93 | return cx8802_buf_prepare(q, dev, (struct cx88_buffer*)vb,field); |
94 | } | 94 | } |
95 | 95 | ||
96 | static void dvb_buf_queue(struct videobuf_queue *q, struct videobuf_buffer *vb) | 96 | static void dvb_buf_queue(struct videobuf_queue *q, struct videobuf_buffer *vb) |
@@ -101,8 +101,7 @@ static void dvb_buf_queue(struct videobuf_queue *q, struct videobuf_buffer *vb) | |||
101 | 101 | ||
102 | static void dvb_buf_release(struct videobuf_queue *q, struct videobuf_buffer *vb) | 102 | static void dvb_buf_release(struct videobuf_queue *q, struct videobuf_buffer *vb) |
103 | { | 103 | { |
104 | struct cx8802_dev *dev = q->priv_data; | 104 | cx88_free_buffer(q, (struct cx88_buffer*)vb); |
105 | cx88_free_buffer(dev->pci, (struct cx88_buffer*)vb); | ||
106 | } | 105 | } |
107 | 106 | ||
108 | static struct videobuf_queue_ops dvb_qops = { | 107 | static struct videobuf_queue_ops dvb_qops = { |