2005-04-17 06:20:36 +08:00
|
|
|
#ifndef _ALPHA_DMA_MAPPING_H
|
|
|
|
#define _ALPHA_DMA_MAPPING_H
|
|
|
|
|
2017-01-21 05:04:01 +08:00
|
|
|
extern const struct dma_map_ops *dma_ops;
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2017-01-21 05:04:04 +08:00
|
|
|
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
|
2010-03-11 07:23:37 +08:00
|
|
|
{
|
|
|
|
return dma_ops;
|
|
|
|
}
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-01-30 21:23:55 +08:00
|
|
|
#define dma_cache_sync(dev, va, size, dir) ((void)0)
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#endif /* _ALPHA_DMA_MAPPING_H */
|