11
11
#include <asm-generic/dma-coherent.h>
14
17
#define DMA_ERROR_CODE (~0)
15
18
extern struct dma_map_ops arm_dma_ops;
16
19
extern struct dma_map_ops arm_coherent_dma_ops;
20
23
if (dev && dev->archdata.dma_ops)
21
24
return dev->archdata.dma_ops;
25
36
static inline void set_dma_ops(struct device *dev, struct dma_map_ops *ops)