summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-18 09:40:43 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-18 09:40:43 -0300
commit9dc9f909cf3815bc60336feecea6dce9f437f042 (patch)
tree995941d39233691aab80d0a61cd5c0e402aede17 /linux/drivers/media/video/cx88/cx88-core.c
parentb1fad223c39000c4e5e8be80928035406ae8ccce (diff)
parentbf840a1818e11630aa2cd995cb96fca712d1a314 (diff)
downloadmediapointer-dvb-s2-9dc9f909cf3815bc60336feecea6dce9f437f042.tar.gz
mediapointer-dvb-s2-9dc9f909cf3815bc60336feecea6dce9f437f042.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/tda18271
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-core.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-core.c b/linux/drivers/media/video/cx88/cx88-core.c
index 25985f7d5..1c6ac4528 100644
--- a/linux/drivers/media/video/cx88/cx88-core.c
+++ b/linux/drivers/media/video/cx88/cx88-core.c
@@ -222,7 +222,7 @@ cx88_free_buffer(struct videobuf_queue *q, struct cx88_buffer *buf)
videobuf_waiton(&buf->vb,0,0);
videobuf_dma_unmap(q, dma);
videobuf_dma_free(dma);
- btcx_riscmem_free((struct pci_dev *)q->dev, &buf->risc);
+ btcx_riscmem_free(to_pci_dev(q->dev), &buf->risc);
buf->vb.state = VIDEOBUF_NEEDS_INIT;
}