dma-mapping.h 412 B

1234567891011121314151617
  1. #ifndef _M68K_DMA_MAPPING_H
  2. #define _M68K_DMA_MAPPING_H
  3. extern struct dma_map_ops m68k_dma_ops;
  4. static inline struct dma_map_ops *get_dma_ops(struct device *dev)
  5. {
  6. return &m68k_dma_ops;
  7. }
  8. static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
  9. enum dma_data_direction dir)
  10. {
  11. /* we use coherent allocation, so not much to do here. */
  12. }
  13. #endif /* _M68K_DMA_MAPPING_H */