2005-04-17 05:20:36 +07:00
|
|
|
#ifndef _ALPHA_DMA_MAPPING_H
|
|
|
|
#define _ALPHA_DMA_MAPPING_H
|
|
|
|
|
2010-03-11 06:23:37 +07:00
|
|
|
#include <linux/dma-attrs.h>
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2010-03-11 06:23:37 +07:00
|
|
|
extern struct dma_map_ops *dma_ops;
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2010-03-11 06:23:37 +07:00
|
|
|
static inline struct dma_map_ops *get_dma_ops(struct device *dev)
|
|
|
|
{
|
|
|
|
return dma_ops;
|
|
|
|
}
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2010-03-11 06:23:37 +07:00
|
|
|
#include <asm-generic/dma-mapping-common.h>
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2007-01-30 20:23:55 +07:00
|
|
|
#define dma_cache_sync(dev, va, size, dir) ((void)0)
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
#endif /* _ALPHA_DMA_MAPPING_H */
|