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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
a4cf4cac29
commit
037c75eb14
@@ -128,7 +128,7 @@ struct videobuf_qtype_ops {
|
||||
u32 magic;
|
||||
|
||||
struct videobuf_buffer *(*alloc)(size_t size);
|
||||
void *(*vmalloc) (struct videobuf_buffer *buf);
|
||||
void *(*vaddr) (struct videobuf_buffer *buf);
|
||||
int (*iolock) (struct videobuf_queue *q,
|
||||
struct videobuf_buffer *vb,
|
||||
struct v4l2_framebuffer *fbuf);
|
||||
|
Reference in New Issue
Block a user