All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: dma mapping: export arm iommu functions
@ 2012-12-27  7:14 ` Prathyush K
  0 siblings, 0 replies; 10+ messages in thread
From: Prathyush K @ 2012-12-27  7:14 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds EXPORT_SYMBOL calls to the three arm iommu
functions - arm_iommu_create_mapping, arm_iommu_free_mapping
and arm_iommu_attach_device. These functions can now be called
from dynamic modules.

Signed-off-by: Prathyush K <prathyush.k@samsung.com>
---
 arch/arm/mm/dma-mapping.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index 6b2fb87..c0f0f43 100644
--- a/arch/arm/mm/dma-mapping.c
+++ b/arch/arm/mm/dma-mapping.c
@@ -1797,6 +1797,7 @@ err2:
 err:
 	return ERR_PTR(err);
 }
+EXPORT_SYMBOL(arm_iommu_create_mapping);
 
 static void release_iommu_mapping(struct kref *kref)
 {
@@ -1813,6 +1814,7 @@ void arm_iommu_release_mapping(struct dma_iommu_mapping *mapping)
 	if (mapping)
 		kref_put(&mapping->kref, release_iommu_mapping);
 }
+EXPORT_SYMBOL(arm_iommu_release_mapping);
 
 /**
  * arm_iommu_attach_device
@@ -1841,5 +1843,6 @@ int arm_iommu_attach_device(struct device *dev,
 	pr_debug("Attached IOMMU controller to %s device.\n", dev_name(dev));
 	return 0;
 }
+EXPORT_SYMBOL(arm_iommu_attach_device);
 
 #endif
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-01-01  1:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27  7:14 [PATCH] arm: dma mapping: export arm iommu functions Prathyush K
2012-12-27  7:14 ` Prathyush K
2012-12-27 14:15 ` Marek Szyprowski
2012-12-27 14:15   ` Marek Szyprowski
2012-12-28  4:23   ` Prathyush K
2012-12-28  4:23     ` Prathyush K
2012-12-29  6:53     ` Olof Johansson
2012-12-29  6:53       ` Olof Johansson
2013-01-01  1:07       ` Subash Patel
2013-01-01  1:07         ` Subash Patel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.