diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-05-11 09:36:30 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 14:21:45 -0400 |
commit | 952684035a91334dbe33b15063514cab5e7c6907 (patch) | |
tree | fbd82c8a9af67ab15369a1f120feafaa8836aa14 /drivers/media/video/bt8xx | |
parent | a438d6da52b991b6896742a0f9aed80c2f82da87 (diff) |
V4L/DVB: videobuf: Remove the videobuf_sg_dma_map/unmap functions
Instead of creating dirty wrappers around videobuf_dma_map/unmap that
create a dummy videobuf_queue structure, modify videobuf_dma_map/unmap
to take a device pointer argument and use it directly. The
videobuf_sg_dma_map/unmap then become unused and can be removed.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/bt8xx')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-risc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/bttv-risc.c b/drivers/media/video/bt8xx/bttv-risc.c index c24b1c100e13..0fa9f39f37a3 100644 --- a/drivers/media/video/bt8xx/bttv-risc.c +++ b/drivers/media/video/bt8xx/bttv-risc.c | |||
@@ -583,7 +583,7 @@ bttv_dma_free(struct videobuf_queue *q,struct bttv *btv, struct bttv_buffer *buf | |||
583 | 583 | ||
584 | BUG_ON(in_interrupt()); | 584 | BUG_ON(in_interrupt()); |
585 | videobuf_waiton(&buf->vb,0,0); | 585 | videobuf_waiton(&buf->vb,0,0); |
586 | videobuf_dma_unmap(q, dma); | 586 | videobuf_dma_unmap(q->dev, dma); |
587 | videobuf_dma_free(dma); | 587 | videobuf_dma_free(dma); |
588 | btcx_riscmem_free(btv->c.pci,&buf->bottom); | 588 | btcx_riscmem_free(btv->c.pci,&buf->bottom); |
589 | btcx_riscmem_free(btv->c.pci,&buf->top); | 589 | btcx_riscmem_free(btv->c.pci,&buf->top); |