diff options
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/dma-coherent.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-generic/dma-coherent.h b/include/asm-generic/dma-coherent.h index 85a3ffaa0242..abfb2682de7f 100644 --- a/include/asm-generic/dma-coherent.h +++ b/include/asm-generic/dma-coherent.h | |||
@@ -3,13 +3,15 @@ | |||
3 | 3 | ||
4 | #ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT | 4 | #ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT |
5 | /* | 5 | /* |
6 | * These two functions are only for dma allocator. | 6 | * These three functions are only for dma allocator. |
7 | * Don't use them in device drivers. | 7 | * Don't use them in device drivers. |
8 | */ | 8 | */ |
9 | int dma_alloc_from_coherent(struct device *dev, ssize_t size, | 9 | int dma_alloc_from_coherent(struct device *dev, ssize_t size, |
10 | dma_addr_t *dma_handle, void **ret); | 10 | dma_addr_t *dma_handle, void **ret); |
11 | int dma_release_from_coherent(struct device *dev, int order, void *vaddr); | 11 | int dma_release_from_coherent(struct device *dev, int order, void *vaddr); |
12 | 12 | ||
13 | int dma_mmap_from_coherent(struct device *dev, struct vm_area_struct *vma, | ||
14 | void *cpu_addr, size_t size, int *ret); | ||
13 | /* | 15 | /* |
14 | * Standard interface | 16 | * Standard interface |
15 | */ | 17 | */ |