863509939d5a2a2c562e6f83a74391a304740d17
[sfrench/cifs-2.6.git] / arch / m68k / include / asm / dma-mapping.h
1 #ifndef _M68K_DMA_MAPPING_H
2 #define _M68K_DMA_MAPPING_H
3
4 extern const struct dma_map_ops m68k_dma_ops;
5
6 static inline const 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 */