summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/dma-mapping.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-12-23 10:56:51 +0100
committerChristoph Hellwig <hch@lst.de>2018-01-15 09:35:05 +0100
commitc5cd037d1c8044fbd131c57822a67a1576eb16e9 (patch)
treed2eb3d4d56fc33e15d231dcc2bc4e2645cf31d61 /arch/s390/include/asm/dma-mapping.h
parentdma-mapping: add an arch_dma_supported hook (diff)
downloadlinux-c5cd037d1c8044fbd131c57822a67a1576eb16e9.tar.xz
linux-c5cd037d1c8044fbd131c57822a67a1576eb16e9.zip
dma-mapping: provide a generic asm/dma-mapping.h
For architectures that just use the generic dma_noop_ops we can provide a generic version of dma-mapping.h. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/s390/include/asm/dma-mapping.h')
-rw-r--r--arch/s390/include/asm/dma-mapping.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/s390/include/asm/dma-mapping.h b/arch/s390/include/asm/dma-mapping.h
deleted file mode 100644
index bdc2455483f6..000000000000
--- a/arch/s390/include/asm/dma-mapping.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _ASM_S390_DMA_MAPPING_H
-#define _ASM_S390_DMA_MAPPING_H
-
-#include <linux/kernel.h>
-#include <linux/types.h>
-#include <linux/mm.h>
-#include <linux/scatterlist.h>
-#include <linux/dma-debug.h>
-#include <linux/io.h>
-
-static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
-{
- return &dma_noop_ops;
-}
-
-#endif /* _ASM_S390_DMA_MAPPING_H */