• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _M68K_DMA_MAPPING_H
2 #define _M68K_DMA_MAPPING_H
3 
4 extern struct dma_map_ops m68k_dma_ops;
5 
get_dma_ops(struct device * dev)6 static inline struct dma_map_ops *get_dma_ops(struct device *dev)
7 {
8         return &m68k_dma_ops;
9 }
10 
dma_cache_sync(struct device * dev,void * vaddr,size_t size,enum dma_data_direction dir)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 */
18