diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-08-23 15:37:49 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:14:55 -0400 |
commit | c1accaa21bdef38ec0f36eaaf7ce3384fff9d0c5 (patch) | |
tree | 3a2c8206555af6c9e2eecdb20b052be70e6b93dd /drivers/media/video/cafe_ccic.c | |
parent | 7a7d9a89d0307b1743d782197e2c5fc5ddf183f3 (diff) |
V4L/DVB (6252): Adapt drivers to use the newer videobuf modules
PCI-dependent videobuf_foo methods were renamed as videobuf_pci_foo.
Also, videobuf_dmabuf is now part of videobuf-dma-sg private struct.
So, to access it, a subroutine call is needed.
This patch renames all occurences of those function calls to be
consistent with the video-buf split.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira <v4l@cerqueira.org>
Diffstat (limited to 'drivers/media/video/cafe_ccic.c')
-rw-r--r-- | drivers/media/video/cafe_ccic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c index ccb37006bb18..b63cab336920 100644 --- a/drivers/media/video/cafe_ccic.c +++ b/drivers/media/video/cafe_ccic.c | |||
@@ -1197,7 +1197,7 @@ static int cafe_setup_siobuf(struct cafe_camera *cam, int index) | |||
1197 | buf->v4lbuf.field = V4L2_FIELD_NONE; | 1197 | buf->v4lbuf.field = V4L2_FIELD_NONE; |
1198 | buf->v4lbuf.memory = V4L2_MEMORY_MMAP; | 1198 | buf->v4lbuf.memory = V4L2_MEMORY_MMAP; |
1199 | /* | 1199 | /* |
1200 | * Offset: must be 32-bit even on a 64-bit system. video-buf | 1200 | * Offset: must be 32-bit even on a 64-bit system. videobuf-dma-sg |
1201 | * just uses the length times the index, but the spec warns | 1201 | * just uses the length times the index, but the spec warns |
1202 | * against doing just that - vma merging problems. So we | 1202 | * against doing just that - vma merging problems. So we |
1203 | * leave a gap between each pair of buffers. | 1203 | * leave a gap between each pair of buffers. |