diff options
| -rw-r--r-- | arch/mn10300/include/asm/dma-mapping.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/mn10300/include/asm/dma-mapping.h b/arch/mn10300/include/asm/dma-mapping.h index c1be4397b1ed..a18abfc558eb 100644 --- a/arch/mn10300/include/asm/dma-mapping.h +++ b/arch/mn10300/include/asm/dma-mapping.h | |||
| @@ -168,4 +168,19 @@ void dma_cache_sync(void *vaddr, size_t size, | |||
| 168 | mn10300_dcache_flush_inv(); | 168 | mn10300_dcache_flush_inv(); |
| 169 | } | 169 | } |
| 170 | 170 | ||
| 171 | /* Not supported for now */ | ||
| 172 | static inline int dma_mmap_coherent(struct device *dev, | ||
| 173 | struct vm_area_struct *vma, void *cpu_addr, | ||
| 174 | dma_addr_t dma_addr, size_t size) | ||
| 175 | { | ||
| 176 | return -EINVAL; | ||
| 177 | } | ||
| 178 | |||
| 179 | static inline int dma_get_sgtable(struct device *dev, struct sg_table *sgt, | ||
| 180 | void *cpu_addr, dma_addr_t dma_addr, | ||
| 181 | size_t size) | ||
| 182 | { | ||
| 183 | return -EINVAL; | ||
| 184 | } | ||
| 185 | |||
| 171 | #endif | 186 | #endif |
