diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-03-28 07:18:37 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:57:52 -0400 |
commit | 037c75eb14cd6adb837f81f0c2b2a52c31c91e69 (patch) | |
tree | 79c54264c79256262f2d0079575ddcfcbb49f5c5 /include/media | |
parent | a4cf4cac2979a828e7cd0a3cd02d7a5308a44a7f (diff) |
V4L/DVB: v4l videobuf: rename .vmalloc to .vaddr
Rename the .vmalloc op in struct videobuf_qtype_ops to .vaddr. This op returns
the virtual kernel address of a buffer. vaddr is a lot less confusing than
vmalloc since this callback does do any allocations.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/videobuf-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h index 4497e23c9d29..8fe3254ed952 100644 --- a/include/media/videobuf-core.h +++ b/include/media/videobuf-core.h | |||
@@ -128,7 +128,7 @@ struct videobuf_qtype_ops { | |||
128 | u32 magic; | 128 | u32 magic; |
129 | 129 | ||
130 | struct videobuf_buffer *(*alloc)(size_t size); | 130 | struct videobuf_buffer *(*alloc)(size_t size); |
131 | void *(*vmalloc) (struct videobuf_buffer *buf); | 131 | void *(*vaddr) (struct videobuf_buffer *buf); |
132 | int (*iolock) (struct videobuf_queue *q, | 132 | int (*iolock) (struct videobuf_queue *q, |
133 | struct videobuf_buffer *vb, | 133 | struct videobuf_buffer *vb, |
134 | struct v4l2_framebuffer *fbuf); | 134 | struct v4l2_framebuffer *fbuf); |