From 90609828ec3538c19bc5b1eab2ab25cc786bced5 Mon Sep 17 00:00:00 2001 From: Runmin Wang Date: Tue, 31 May 2016 15:24:49 -0700 Subject: arm64: dma-mapping: Export arch_setup_dma_ops symbol Export arch_setup_dma_ops symbol. Some test modules need to call "arch_setup_dma_ops" to setup the proper dma operations. CRs-Fixed: 1021445 Change-Id: Ieb8aca4dab96ee8bad7c5ad0a47f83e4316bf990 Signed-off-by: Runmin Wang --- arch/arm64/mm/dma-mapping.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch') diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c index 6b151d483f5c..7cf7e4f94f36 100644 --- a/arch/arm64/mm/dma-mapping.c +++ b/arch/arm64/mm/dma-mapping.c @@ -1111,6 +1111,7 @@ void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, dev->archdata.dma_coherent = coherent; __iommu_setup_dma_ops(dev, dma_base, size, iommu); } +EXPORT_SYMBOL(arch_setup_dma_ops); #ifdef CONFIG_ARM64_DMA_USE_IOMMU -- cgit v1.2.3