diff options
Diffstat (limited to 'include/asm-generic/dma-mapping.h')
-rw-r--r-- | include/asm-generic/dma-mapping.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-generic/dma-mapping.h b/include/asm-generic/dma-mapping.h new file mode 100644 index 000000000000..880a292d792f --- /dev/null +++ b/include/asm-generic/dma-mapping.h | |||
@@ -0,0 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
2 | #ifndef _ASM_GENERIC_DMA_MAPPING_H | ||
3 | #define _ASM_GENERIC_DMA_MAPPING_H | ||
4 | |||
5 | static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) | ||
6 | { | ||
7 | return &dma_direct_ops; | ||
8 | } | ||
9 | |||
10 | #endif /* _ASM_GENERIC_DMA_MAPPING_H */ | ||