]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/m68k/include/asm/dma-mapping.h
Merge tag 'tegra-for-4.8-i2c' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
[karo-tx-linux.git] / arch / m68k / include / asm / dma-mapping.h
1 #ifndef _M68K_DMA_MAPPING_H
2 #define _M68K_DMA_MAPPING_H
3
4 extern struct dma_map_ops m68k_dma_ops;
5
6 static inline struct dma_map_ops *get_dma_ops(struct device *dev)
7 {
8         return &m68k_dma_ops;
9 }
10
11 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
12                                   enum dma_data_direction dir)
13 {
14         /* we use coherent allocation, so not much to do here. */
15 }
16
17 #endif  /* _M68K_DMA_MAPPING_H */