diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-01-28 19:06:19 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:32:14 -0400 |
commit | bd94f588283b167f7fa8c2dc2164dcd2f4a4a7a5 (patch) | |
tree | 94e70be92a572c91d14b12aeaaf62fb41ef1e664 /drivers/media/video/videobuf2-memops.c | |
parent | 353c2129fdff2047237193932971e50734c64336 (diff) |
[media] V4L: add missing EXPORT_SYMBOL* statements to vb2
videobuf2-memops and videobuf2-core can be compiled as modules, in which
case 3 more symbols from videobuf2-memops.c have to be exported.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/videobuf2-memops.c')
-rw-r--r-- | drivers/media/video/videobuf2-memops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/videobuf2-memops.c b/drivers/media/video/videobuf2-memops.c index 053c15794b8d..a3eb6567dea5 100644 --- a/drivers/media/video/videobuf2-memops.c +++ b/drivers/media/video/videobuf2-memops.c | |||
@@ -77,6 +77,7 @@ void vb2_put_vma(struct vm_area_struct *vma) | |||
77 | 77 | ||
78 | kfree(vma); | 78 | kfree(vma); |
79 | } | 79 | } |
80 | EXPORT_SYMBOL_GPL(vb2_put_vma); | ||
80 | 81 | ||
81 | /** | 82 | /** |
82 | * vb2_get_contig_userptr() - lock physically contiguous userspace mapped memory | 83 | * vb2_get_contig_userptr() - lock physically contiguous userspace mapped memory |
@@ -141,6 +142,7 @@ done: | |||
141 | up_read(&mm->mmap_sem); | 142 | up_read(&mm->mmap_sem); |
142 | return ret; | 143 | return ret; |
143 | } | 144 | } |
145 | EXPORT_SYMBOL_GPL(vb2_get_contig_userptr); | ||
144 | 146 | ||
145 | /** | 147 | /** |
146 | * vb2_mmap_pfn_range() - map physical pages to userspace | 148 | * vb2_mmap_pfn_range() - map physical pages to userspace |
@@ -180,6 +182,7 @@ int vb2_mmap_pfn_range(struct vm_area_struct *vma, unsigned long paddr, | |||
180 | 182 | ||
181 | return 0; | 183 | return 0; |
182 | } | 184 | } |
185 | EXPORT_SYMBOL_GPL(vb2_mmap_pfn_range); | ||
183 | 186 | ||
184 | /** | 187 | /** |
185 | * vb2_common_vm_open() - increase refcount of the vma | 188 | * vb2_common_vm_open() - increase refcount of the vma |