Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ALPHA_DMA_MAPPING_H |
| 2 | #define _ALPHA_DMA_MAPPING_H |
| 3 | |
Bart Van Assche | 5299709 | 2017-01-20 13:04:01 -0800 | [diff] [blame] | 4 | extern const struct dma_map_ops *dma_ops; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
Bart Van Assche | 815dd18 | 2017-01-20 13:04:04 -0800 | [diff] [blame] | 6 | static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) |
FUJITA Tomonori | c186cac | 2010-03-10 15:23:37 -0800 | [diff] [blame] | 7 | { |
| 8 | return dma_ops; |
| 9 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Al Viro | d0a2339 | 2007-01-30 13:23:55 +0000 | [diff] [blame] | 11 | #define dma_cache_sync(dev, va, size, dir) ((void)0) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
| 13 | #endif /* _ALPHA_DMA_MAPPING_H */ |