summaryrefslogtreecommitdiffstats
path: root/arch/nds32/include/asm/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/include/asm/dma-mapping.h')
-rw-r--r--arch/nds32/include/asm/dma-mapping.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/nds32/include/asm/dma-mapping.h b/arch/nds32/include/asm/dma-mapping.h
new file mode 100644
index 000000000000..2dd47d245c25
--- /dev/null
+++ b/arch/nds32/include/asm/dma-mapping.h
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (C) 2005-2017 Andes Technology Corporation
+
+#ifndef ASMNDS32_DMA_MAPPING_H
+#define ASMNDS32_DMA_MAPPING_H
+
+extern struct dma_map_ops nds32_dma_ops;
+
+static inline struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
+{
+ return &nds32_dma_ops;
+}
+
+#endif
OpenPOWER on IntegriCloud