Geert Uytterhoeven afbe21d8b3 blackfin: Provide dma_mmap_coherent() and dma_get_sgtable()
blackfin/allmodconfig:

drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’:
drivers/media/v4l2-core/videobuf2-dma-contig.c:204: error: implicit declaration of function ‘dma_mmap_coherent’
drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_get_base_sgt’:
drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit declaration of function ‘dma_get_sgtable’

For architectures using dma_map_ops, dma_mmap_coherent() and
dma_get_sgtable() are provided in <asm-generic/dma-mapping-common.h>.

Blackfin does not use dma_map_ops, hence it should implement them as inline
stubs using dma_common_mmap() and dma_common_get_sgtable().

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: uclinux-dist-devel@blackfin.uclinux.org
Acked-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2013-01-29 08:11:14 +01:00
..
2010-08-06 12:55:56 -04:00
2012-05-21 14:54:13 +08:00
2012-05-21 14:54:13 +08:00
2012-07-24 13:39:49 +08:00
2012-05-21 14:54:16 +08:00
2012-01-09 10:26:15 +08:00
2010-03-09 00:30:50 -05:00
2012-05-21 14:54:12 +08:00
2012-07-24 13:39:48 +08:00
2011-01-10 07:18:04 -05:00
2011-07-26 16:49:47 -07:00
2009-06-22 21:16:07 -04:00
2011-07-26 16:49:47 -07:00
2010-03-09 00:30:51 -05:00
2012-10-01 09:58:13 -04:00
2012-12-13 13:50:57 +08:00