summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-14 14:32:40 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-14 14:32:40 +0000
commitf7bf0862d0d257ce9cea85fecfe8ca1de579a292 (patch)
tree5ee60677db398fac143383fb796fbf2fa525ed26 /linux/drivers/media/video/cx88/cx88-core.c
parent49e756dcfded2fffa8f9c63ea341bf5524bee502 (diff)
downloadmediapointer-dvb-s2-f7bf0862d0d257ce9cea85fecfe8ca1de579a292.tar.gz
mediapointer-dvb-s2-f7bf0862d0d257ce9cea85fecfe8ca1de579a292.tar.bz2
Fix left-overs from the videobuf-dma-sg.c conversion to generic DMA
From: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> The dev element of the struct videobuf_queue is now of type struct device implicitly. Fix left-over casts. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> 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;
}