1#ifndef _ALPHA_DMA_MAPPING_H 2#define _ALPHA_DMA_MAPPING_H 3 4#include <linux/dma-attrs.h> 5 6extern struct dma_map_ops *dma_ops; 7 8static 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