1 #ifndef _H8300_DMA_MAPPING_H 2 #define _H8300_DMA_MAPPING_H 3 4 extern struct dma_map_ops h8300_dma_map_ops; 5 get_dma_ops(struct device * dev)6static inline struct dma_map_ops *get_dma_ops(struct device *dev) 7 { 8 return &h8300_dma_map_ops; 9 } 10 11 #include <asm-generic/dma-mapping-common.h> 12 13 #endif 14