[Linaro-mm-sig] [PATCH] media: vb2-memops: Export vb2_get_vma symbol

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Jan 23 14:35:38 UTC 2012


The vb2_get_vma() function is called by videobuf2-dma-contig. Export it.

Signed-off-by: Laurent Pinchart <laurent.pinchart at 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
-- 
Regards,

Laurent Pinchart




More information about the Linaro-mm-sig mailing list