diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-07 05:02:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:41 -0400 |
commit | 8ac05ae3192ce8a71fc84e4a88772cce0c09173c (patch) | |
tree | 997f2d8bbedf857b33bf62d44b9cc4cd8c7a9f73 /drivers/media/video/ivtv/ivtv-udma.h | |
parent | d7493e518fa98d2c30c545c518df075903bae513 (diff) |
V4L/DVB (10488): ivtv: cleanup naming conventions
Use consistent naming for pci_dev, v4l2_device and video_device.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-udma.h')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-udma.h | 4 |
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 | ||
36 | static inline void ivtv_udma_sync_for_device(struct ivtv *itv) | 36 | static 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 | ||
42 | static inline void ivtv_udma_sync_for_cpu(struct ivtv *itv) | 42 | static 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 | ||