From: Huang, Tao Date: Wed, 1 Jun 2016 11:19:15 +0000 (+0800) Subject: iommu: dma-iommu: export common_iommu_{setup|teardown}_dma_ops X-Git-Tag: firefly_0821_release~2527 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a8f069a98449a81a10d5f6091be2de668f6774a4;p=firefly-linux-kernel-4.4.55.git iommu: dma-iommu: export common_iommu_{setup|teardown}_dma_ops This patch adds EXPORT_SYMBOL_GPL calls to common_iommu_setup_dma_ops and common_iommu_teardown_dma_ops. Change-Id: I379d487967587cdb9caffa006a7f3763e6cbfb13 Signed-off-by: Huang, Tao --- diff --git a/drivers/iommu/dma-iommu-ops.c b/drivers/iommu/dma-iommu-ops.c index 047c47e3c0ab..862d7823985e 100644 --- a/drivers/iommu/dma-iommu-ops.c +++ b/drivers/iommu/dma-iommu-ops.c @@ -456,6 +456,7 @@ bool common_iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, return true; } +EXPORT_SYMBOL_GPL(common_iommu_setup_dma_ops); void common_iommu_teardown_dma_ops(struct device *dev) { @@ -469,3 +470,4 @@ void common_iommu_teardown_dma_ops(struct device *dev) arch_set_dma_ops(dev, NULL); } +EXPORT_SYMBOL_GPL(common_iommu_teardown_dma_ops);