summaryrefslogtreecommitdiff
path: root/arch/h8300/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-01-09 18:32:29 +0300
committerChristoph Hellwig <hch@lst.de>2018-01-15 11:35:17 +0300
commit23475ad49e704b9aee14970c4c191768798412c9 (patch)
tree6bb98b2ee7af73401c9f38f1c3ed79046d55ccf7 /arch/h8300/include/asm/dma-mapping.h
parentf73337f4cef277f3c70f4bf9bdd6e93a52f57bdd (diff)
downloadlinux-23475ad49e704b9aee14970c4c191768798412c9.tar.xz
h8300: use dma-direct
Replace the bare-bones h8300 direct dma mapping implementation with the fully featured generic dma-direct one. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/h8300/include/asm/dma-mapping.h')
-rw-r--r--arch/h8300/include/asm/dma-mapping.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/h8300/include/asm/dma-mapping.h b/arch/h8300/include/asm/dma-mapping.h
deleted file mode 100644
index 21bb1fc3a6f1..000000000000
--- a/arch/h8300/include/asm/dma-mapping.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _H8300_DMA_MAPPING_H
-#define _H8300_DMA_MAPPING_H
-
-extern const struct dma_map_ops h8300_dma_map_ops;
-
-static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
-{
- return &h8300_dma_map_ops;
-}
-
-#endif