diff options
| -rw-r--r-- | arch/c6x/include/asm/dma-mapping.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/dma-mapping.h b/arch/c6x/include/asm/dma-mapping.h index 3c694065030f..88bd0d899bdb 100644 --- a/arch/c6x/include/asm/dma-mapping.h +++ b/arch/c6x/include/asm/dma-mapping.h | |||
| @@ -89,4 +89,19 @@ extern void dma_free_coherent(struct device *, size_t, void *, dma_addr_t); | |||
| 89 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent((d), (s), (h), (f)) | 89 | #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent((d), (s), (h), (f)) |
| 90 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent((d), (s), (v), (h)) | 90 | #define dma_free_noncoherent(d, s, v, h) dma_free_coherent((d), (s), (v), (h)) |
| 91 | 91 | ||
| 92 | /* Not supported for now */ | ||
| 93 | static inline int dma_mmap_coherent(struct device *dev, | ||
| 94 | struct vm_area_struct *vma, void *cpu_addr, | ||
| 95 | dma_addr_t dma_addr, size_t size) | ||
| 96 | { | ||
| 97 | return -EINVAL; | ||
| 98 | } | ||
| 99 | |||
| 100 | static inline int dma_get_sgtable(struct device *dev, struct sg_table *sgt, | ||
| 101 | void *cpu_addr, dma_addr_t dma_addr, | ||
| 102 | size_t size) | ||
| 103 | { | ||
| 104 | return -EINVAL; | ||
| 105 | } | ||
| 106 | |||
| 92 | #endif /* _ASM_C6X_DMA_MAPPING_H */ | 107 | #endif /* _ASM_C6X_DMA_MAPPING_H */ |
