aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-udma.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-udma.h')
-rw-r--r--drivers/media/video/ivtv/ivtv-udma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/ivtv/ivtv-udma.h b/drivers/media/video/ivtv/ivtv-udma.h
index df727e23be0a..ee3c9efb5b72 100644
--- a/drivers/media/video/ivtv/ivtv-udma.h
+++ b/drivers/media/video/ivtv/ivtv-udma.h
@@ -35,13 +35,13 @@ void ivtv_udma_start(struct ivtv *itv);
35 35
36static inline void ivtv_udma_sync_for_device(struct ivtv *itv) 36static inline void ivtv_udma_sync_for_device(struct ivtv *itv)
37{ 37{
38 pci_dma_sync_single_for_device((struct pci_dev *)itv->dev, itv->udma.SG_handle, 38 pci_dma_sync_single_for_device(itv->pdev, itv->udma.SG_handle,
39 sizeof(itv->udma.SGarray), PCI_DMA_TODEVICE); 39 sizeof(itv->udma.SGarray), PCI_DMA_TODEVICE);
40} 40}
41 41
42static inline void ivtv_udma_sync_for_cpu(struct ivtv *itv) 42static inline void ivtv_udma_sync_for_cpu(struct ivtv *itv)
43{ 43{
44 pci_dma_sync_single_for_cpu((struct pci_dev *)itv->dev, itv->udma.SG_handle, 44 pci_dma_sync_single_for_cpu(itv->pdev, itv->udma.SG_handle,
45 sizeof(itv->udma.SGarray), PCI_DMA_TODEVICE); 45 sizeof(itv->udma.SGarray), PCI_DMA_TODEVICE);
46} 46}
47 47