diff options
author | Andy Walls <awalls@radix.net> | 2009-01-10 19:54:39 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:25 -0400 |
commit | 3d05913d894a460b7dc8e5d93415fde21b986411 (patch) | |
tree | 04a2216afdbbf27230dd364107d5d1dcb7f13057 /drivers/media/video/cx18/cx18-queue.h | |
parent | e0f28b6a69b73ebf610f4f9759999bcdabdcda8e (diff) |
V4L/DVB (10280): cx18: Rename structure members: dev to pci_dev and v4l2dev to video_dev
Renamed structure member name to be more specific to type in anticipation
of updating to the v4l2_device/v4l2_subdev framework. Too many objects named
"dev" and /v4l2_\{0,1\}dev/ would be to confusing.
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-queue.h')
-rw-r--r-- | drivers/media/video/cx18/cx18-queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-queue.h b/drivers/media/video/cx18/cx18-queue.h index 456cec3bc28f..4de06269d88f 100644 --- a/drivers/media/video/cx18/cx18-queue.h +++ b/drivers/media/video/cx18/cx18-queue.h | |||
@@ -29,14 +29,14 @@ | |||
29 | static inline void cx18_buf_sync_for_cpu(struct cx18_stream *s, | 29 | static inline void cx18_buf_sync_for_cpu(struct cx18_stream *s, |
30 | struct cx18_buffer *buf) | 30 | struct cx18_buffer *buf) |
31 | { | 31 | { |
32 | pci_dma_sync_single_for_cpu(s->cx->dev, buf->dma_handle, | 32 | pci_dma_sync_single_for_cpu(s->cx->pci_dev, buf->dma_handle, |
33 | s->buf_size, s->dma); | 33 | s->buf_size, s->dma); |
34 | } | 34 | } |
35 | 35 | ||
36 | static inline void cx18_buf_sync_for_device(struct cx18_stream *s, | 36 | static inline void cx18_buf_sync_for_device(struct cx18_stream *s, |
37 | struct cx18_buffer *buf) | 37 | struct cx18_buffer *buf) |
38 | { | 38 | { |
39 | pci_dma_sync_single_for_device(s->cx->dev, buf->dma_handle, | 39 | pci_dma_sync_single_for_device(s->cx->pci_dev, buf->dma_handle, |
40 | s->buf_size, s->dma); | 40 | s->buf_size, s->dma); |
41 | } | 41 | } |
42 | 42 | ||