Linux 4.11
[sfrench/cifs-2.6.git] / arch / avr32 / include / asm / dma-mapping.h
1 #ifndef __ASM_AVR32_DMA_MAPPING_H
2 #define __ASM_AVR32_DMA_MAPPING_H
3
4 extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
5         int direction);
6
7 extern const struct dma_map_ops avr32_dma_ops;
8
9 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
10 {
11         return &avr32_dma_ops;
12 }
13
14 #endif /* __ASM_AVR32_DMA_MAPPING_H */