aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/videobuf2-memops.h
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2012-06-14 11:32:21 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-11-25 17:20:25 -0200
commitc60520fa50cd86d64bc8ebb34300ddc4ca91393d (patch)
tree2f90c8d36f9ed166e6747fb2bd05444b350f1217 /include/media/videobuf2-memops.h
parent9bd09fd7385739bf571a6ea848bee425327ce34e (diff)
downloadkernel_goldelico_gta04-c60520fa50cd86d64bc8ebb34300ddc4ca91393d.zip
kernel_goldelico_gta04-c60520fa50cd86d64bc8ebb34300ddc4ca91393d.tar.gz
kernel_goldelico_gta04-c60520fa50cd86d64bc8ebb34300ddc4ca91393d.tar.bz2
[media] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call
Let mmap method to use dma_mmap_coherent call. Moreover, this patch removes vb2_mmap_pfn_range from videobuf2 helpers as it was suggested by Laurent Pinchart. The function is no longer used in vb2 code. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/videobuf2-memops.h')
-rw-r--r--include/media/videobuf2-memops.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/media/videobuf2-memops.h b/include/media/videobuf2-memops.h
index 84e1f6c..f05444c 100644
--- a/include/media/videobuf2-memops.h
+++ b/include/media/videobuf2-memops.h
@@ -33,11 +33,6 @@ extern const struct vm_operations_struct vb2_common_vm_ops;
int vb2_get_contig_userptr(unsigned long vaddr, unsigned long size,
struct vm_area_struct **res_vma, dma_addr_t *res_pa);
-int vb2_mmap_pfn_range(struct vm_area_struct *vma, unsigned long paddr,
- unsigned long size,
- const struct vm_operations_struct *vm_ops,
- void *priv);
-
struct vm_area_struct *vb2_get_vma(struct vm_area_struct *vma);
void vb2_put_vma(struct vm_area_struct *vma);