V4L/DVB: v4l videobuf: remove mmap_free callback
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 28 Mar 2010 10:54:29 +0000 (07:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:50 +0000 (12:57 -0300)
commit53aaf07637baae8f53c33b803bbc96047d8da1c4
treee620ce3c28dae607e34a2b6bea0e4c0edc3cff4e
parent33435167e6dc9e23a97a494cec6b8ca47f8ded75
V4L/DVB: v4l videobuf: remove mmap_free callback

Remove the mmap_free callback from struct videobuf_qtype_ops.

All implementations of this callback do the same trivial check: return
-EBUSY if any buffer is mmapped. That can also be tested in the
videobuf core.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf-core.c
drivers/media/video/videobuf-dma-contig.c
drivers/media/video/videobuf-dma-sg.c
drivers/media/video/videobuf-vmalloc.c
include/media/videobuf-core.h