xref: /linux/arch/alpha/include/asm/dma-mapping.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1 #ifndef _ALPHA_DMA_MAPPING_H
2 #define _ALPHA_DMA_MAPPING_H
3 
4 #include <linux/dma-attrs.h>
5 
6 extern struct dma_map_ops *dma_ops;
7 
8 static inline struct dma_map_ops *get_dma_ops(struct device *dev)
9 {
10 	return dma_ops;
11 }
12 
13 #include <asm-generic/dma-mapping-common.h>
14 
15 #define dma_cache_sync(dev, va, size, dir)		  ((void)0)
16 
17 #endif	/* _ALPHA_DMA_MAPPING_H */
18