1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _ASM_X86_DMA_MAPPING_H 3 #define _ASM_X86_DMA_MAPPING_H 4 5 extern const struct dma_map_ops *dma_ops; 6 7 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) 8 { 9 return dma_ops; 10 } 11 12 #endif 13