]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/metag/include/asm/dma-mapping.h
Merge remote-tracking branch 'asoc/topic/qcom' into asoc-next
[mirror_ubuntu-focal-kernel.git] / arch / metag / include / asm / dma-mapping.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_METAG_DMA_MAPPING_H
3 #define _ASM_METAG_DMA_MAPPING_H
4
5 extern const struct dma_map_ops metag_dma_ops;
6
7 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
8 {
9 return &metag_dma_ops;
10 }
11
12 /*
13 * dma_alloc_attrs() always returns non-cacheable memory, so there's no need to
14 * do any flushing here.
15 */
16 static inline void
17 dma_cache_sync(struct device *dev, void *vaddr, size_t size,
18 enum dma_data_direction direction)
19 {
20 }
21
22 #endif