Linux-libre 4.9.123-gnu
[librecmc/linux-libre.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 struct dma_map_ops avr32_dma_ops;
8
9 static inline struct dma_map_ops *get_dma_ops(struct device *dev)
10 {
11         return &avr32_dma_ops;
12 }
13
14 #endif /* __ASM_AVR32_DMA_MAPPING_H */