Hi Laurent,
Thank you for finding a bug in vb2-core.
Regards, Tomasz Stanislawski
On 01/23/2012 03:35 PM, Laurent Pinchart wrote:
The vb2_get_vma() function is called by videobuf2-dma-contig. Export it.
Signed-off-by: Laurent Pinchartlaurent.pinchart@ideasonboard.com
drivers/media/video/videobuf2-memops.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Hi Thomas,
The following patch is needed to compile videobuf2-dma-contig as a module.
diff --git a/drivers/media/video/videobuf2-memops.c b/drivers/media/video/videobuf2-memops.c index 71a7a78..718f70e 100644 --- a/drivers/media/video/videobuf2-memops.c +++ b/drivers/media/video/videobuf2-memops.c @@ -55,6 +55,7 @@ struct vm_area_struct *vb2_get_vma(struct vm_area_struct *vma)
return vma_copy; } +EXPORT_SYMBOL_GPL(vb2_get_vma);
/**
- vb2_put_userptr() - release a userspace virtual memory area