ASoC: pcm512x: Scrub my work address from the driver
[sfrench/cifs-2.6.git] / arch / metag / include / asm / dma-mapping.h
1 #ifndef _ASM_METAG_DMA_MAPPING_H
2 #define _ASM_METAG_DMA_MAPPING_H
3
4 extern const struct dma_map_ops metag_dma_ops;
5
6 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
7 {
8         return &metag_dma_ops;
9 }
10
11 /*
12  * dma_alloc_attrs() always returns non-cacheable memory, so there's no need to
13  * do any flushing here.
14  */
15 static inline void
16 dma_cache_sync(struct device *dev, void *vaddr, size_t size,
17                enum dma_data_direction direction)
18 {
19 }
20
21 #endif