diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-03-28 13:18:37 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 17:57:52 +0200 |
commit | 037c75eb14cd6adb837f81f0c2b2a52c31c91e69 (patch) | |
tree | 79c54264c79256262f2d0079575ddcfcbb49f5c5 /drivers/media/video/videobuf-vmalloc.c | |
parent | V4L/DVB: v4l videobuf: use struct videobuf_buffer * instead of void * for vid... (diff) | |
download | linux-037c75eb14cd6adb837f81f0c2b2a52c31c91e69.tar.xz linux-037c75eb14cd6adb837f81f0c2b2a52c31c91e69.zip |
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 'drivers/media/video/videobuf-vmalloc.c')
-rw-r--r-- | drivers/media/video/videobuf-vmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videobuf-vmalloc.c b/drivers/media/video/videobuf-vmalloc.c index 000a60fc456e..6db412abeacd 100644 --- a/drivers/media/video/videobuf-vmalloc.c +++ b/drivers/media/video/videobuf-vmalloc.c @@ -373,7 +373,7 @@ static struct videobuf_qtype_ops qops = { .mmap_mapper = __videobuf_mmap_mapper, .video_copy_to_user = __videobuf_copy_to_user, .copy_stream = __videobuf_copy_stream, - .vmalloc = videobuf_to_vmalloc, + .vaddr = videobuf_to_vmalloc, }; void videobuf_queue_vmalloc_init(struct videobuf_queue *q, |