summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/dma-mapping.h')
-rw-r--r--include/asm-generic/dma-mapping.h10
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..164031531d85
--- /dev/null
+++ b/include/asm-generic/dma-mapping.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_GENERIC_DMA_MAPPING_H
+#define _ASM_GENERIC_DMA_MAPPING_H
+
+static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
+{
+ return &dma_noop_ops;
+}
+
+#endif /* _ASM_GENERIC_DMA_MAPPING_H */