summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-21 22:14:44 +0100
committerChristoph Hellwig <hch@lst.de>2019-02-13 19:12:50 +0100
commitdc2acded38957dfa6b7b7e0203b4b8cb8d818ce6 (patch)
tree9cf274e19000726408fcf2512915d9e27a600fa1 /arch/arm64/include/asm
parentdma-mapping: add a kconfig symbol for arch_setup_dma_ops availability (diff)
downloadlinux-dc2acded38957dfa6b7b7e0203b4b8cb8d818ce6.tar.xz
linux-dc2acded38957dfa6b7b7e0203b4b8cb8d818ce6.zip
dma-mapping: add a kconfig symbol for arch_teardown_dma_ops availability
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Catalin Marinas <catalin.marinas@arm.com> # arm64
Diffstat (limited to 'arch/arm64/include/asm')
-rw-r--r--arch/arm64/include/asm/dma-mapping.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm64/include/asm/dma-mapping.h b/arch/arm64/include/asm/dma-mapping.h
index de96507ee2c1..de98191e4c7d 100644
--- a/arch/arm64/include/asm/dma-mapping.h
+++ b/arch/arm64/include/asm/dma-mapping.h
@@ -29,11 +29,6 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
return NULL;
}
-#ifdef CONFIG_IOMMU_DMA
-void arch_teardown_dma_ops(struct device *dev);
-#define arch_teardown_dma_ops arch_teardown_dma_ops
-#endif
-
/*
* Do not use this function in a driver, it is only provided for
* arch/arm/mm/xen.c, which is used by arm64 as well.