Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59498fa0 authored by Runmin Wang's avatar Runmin Wang Committed by Patrick Daly
Browse files

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: default avatarRunmin Wang <runminw@codeaurora.org>
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 3340eeb6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1082,6 +1082,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