summaryrefslogtreecommitdiffstats
path: root/kernel/arch/h8300/include/asm/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/h8300/include/asm/dma-mapping.h')
-rw-r--r--kernel/arch/h8300/include/asm/dma-mapping.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/arch/h8300/include/asm/dma-mapping.h b/kernel/arch/h8300/include/asm/dma-mapping.h
new file mode 100644
index 000000000..d9b5b806a
--- /dev/null
+++ b/kernel/arch/h8300/include/asm/dma-mapping.h
@@ -0,0 +1,13 @@
+#ifndef _H8300_DMA_MAPPING_H
+#define _H8300_DMA_MAPPING_H
+
+extern struct dma_map_ops h8300_dma_map_ops;
+
+static inline struct dma_map_ops *get_dma_ops(struct device *dev)
+{
+ return &h8300_dma_map_ops;
+}
+
+#include <asm-generic/dma-mapping-common.h>
+
+#endif