diff options
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-queue.h')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-queue.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/ivtv/ivtv-queue.h b/drivers/media/video/ivtv/ivtv-queue.h index 2ed8d548255d..14a9f7fe50aa 100644 --- a/drivers/media/video/ivtv/ivtv-queue.h +++ b/drivers/media/video/ivtv/ivtv-queue.h | |||
@@ -79,13 +79,13 @@ void ivtv_stream_free(struct ivtv_stream *s); | |||
79 | static inline void ivtv_stream_sync_for_cpu(struct ivtv_stream *s) | 79 | static inline void ivtv_stream_sync_for_cpu(struct ivtv_stream *s) |
80 | { | 80 | { |
81 | if (ivtv_use_dma(s)) | 81 | if (ivtv_use_dma(s)) |
82 | pci_dma_sync_single_for_cpu(s->itv->dev, s->SG_handle, | 82 | pci_dma_sync_single_for_cpu(s->itv->dev, s->sg_handle, |
83 | sizeof(struct ivtv_SG_element) * s->buffers, PCI_DMA_TODEVICE); | 83 | sizeof(struct ivtv_sg_element), PCI_DMA_TODEVICE); |
84 | } | 84 | } |
85 | 85 | ||
86 | static inline void ivtv_stream_sync_for_device(struct ivtv_stream *s) | 86 | static inline void ivtv_stream_sync_for_device(struct ivtv_stream *s) |
87 | { | 87 | { |
88 | if (ivtv_use_dma(s)) | 88 | if (ivtv_use_dma(s)) |
89 | pci_dma_sync_single_for_device(s->itv->dev, s->SG_handle, | 89 | pci_dma_sync_single_for_device(s->itv->dev, s->sg_handle, |
90 | sizeof(struct ivtv_SG_element) * s->buffers, PCI_DMA_TODEVICE); | 90 | sizeof(struct ivtv_sg_element), PCI_DMA_TODEVICE); |
91 | } | 91 | } |