Files
HiSTBLinuxV100R005C00SPC060/source/kernel/linux-4.4.y/arch/alpha/include/asm/dma-mapping.h
T
2024-08-12 23:04:26 +08:00

18 lines
350 B
C

#ifndef _ALPHA_DMA_MAPPING_H
#define _ALPHA_DMA_MAPPING_H
#include <linux/dma-attrs.h>
extern struct dma_map_ops *dma_ops;
static inline struct dma_map_ops *get_dma_ops(struct device *dev)
{
return dma_ops;
}
#include <asm-generic/dma-mapping-common.h>
#define dma_cache_sync(dev, va, size, dir) ((void)0)
#endif /* _ALPHA_DMA_MAPPING_H */