summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-queue.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-01-29 10:51:00 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-01-29 10:51:00 -0200
commit7c0917f006a519be5e54c6405f54dea61ca06b7a (patch)
tree47a8e3218398355b7ba1cdf59b9390afa003fdc9 /linux/drivers/media/video/cx18/cx18-queue.h
parentb1ccf703c9015bc3257716ffccd33ca147f7a1a8 (diff)
parent68a6fa1ae421b7c28eb6b8365f3adfd08007e7b7 (diff)
downloadmediapointer-dvb-s2-7c0917f006a519be5e54c6405f54dea61ca06b7a.tar.gz
mediapointer-dvb-s2-7c0917f006a519be5e54c6405f54dea61ca06b7a.tar.bz2
commit backport
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-queue.h')
-rw-r--r--linux/drivers/media/video/cx18/cx18-queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-queue.h b/linux/drivers/media/video/cx18/cx18-queue.h
index 456cec3bc..4de06269d 100644
--- a/linux/drivers/media/video/cx18/cx18-queue.h
+++ b/linux/drivers/media/video/cx18/cx18-queue.h
@@ -29,14 +29,14 @@
static inline void cx18_buf_sync_for_cpu(struct cx18_stream *s,
struct cx18_buffer *buf)
{
- pci_dma_sync_single_for_cpu(s->cx->dev, buf->dma_handle,
+ pci_dma_sync_single_for_cpu(s->cx->pci_dev, buf->dma_handle,
s->buf_size, s->dma);
}
static inline void cx18_buf_sync_for_device(struct cx18_stream *s,
struct cx18_buffer *buf)
{
- pci_dma_sync_single_for_device(s->cx->dev, buf->dma_handle,
+ pci_dma_sync_single_for_device(s->cx->pci_dev, buf->dma_handle,
s->buf_size, s->dma);
}