V4L/DVB (3516): Make video_buf more generic
[deliverable/linux.git] / drivers / media / video / saa7134 / saa7134-core.c
index 58e568d7d2ee2b7545920dcb775f07a64c4de50f..15405d1e16754931888c4c65b69e24ff68ff4223 100644 (file)
@@ -254,12 +254,12 @@ void saa7134_pgtable_free(struct pci_dev *pci, struct saa7134_pgtable *pt)
 
 /* ------------------------------------------------------------------ */
 
-void saa7134_dma_free(struct saa7134_dev *dev,struct saa7134_buf *buf)
+void saa7134_dma_free(struct videobuf_queue *q,struct saa7134_buf *buf)
 {
        BUG_ON(in_interrupt());
 
        videobuf_waiton(&buf->vb,0,0);
-       videobuf_dma_pci_unmap(dev->pci, &buf->vb.dma);
+       videobuf_dma_unmap(q, &buf->vb.dma);
        videobuf_dma_free(&buf->vb.dma);
        buf->vb.state = STATE_NEEDS_INIT;
 }
This page took 0.02557 seconds and 5 git commands to generate.