From 037c75eb14cd6adb837f81f0c2b2a52c31c91e69 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Sun, 28 Mar 2010 08:18:37 -0300 Subject: 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 Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/videobuf-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/media/video/videobuf-core.c') diff --git a/drivers/media/video/videobuf-core.c b/drivers/media/video/videobuf-core.c index 7b69f6b00a3d..26241a833894 100644 --- a/drivers/media/video/videobuf-core.c +++ b/drivers/media/video/videobuf-core.c @@ -108,8 +108,8 @@ EXPORT_SYMBOL_GPL(videobuf_iolock); void *videobuf_queue_to_vmalloc(struct videobuf_queue *q, struct videobuf_buffer *buf) { - if (q->int_ops->vmalloc) - return q->int_ops->vmalloc(buf); + if (q->int_ops->vaddr) + return q->int_ops->vaddr(buf); else return NULL; } -- cgit v1.2.3