]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm: dma mapping: export arm iommu functions
authorPrathyush K <prathyush.k@samsung.com>
Fri, 4 Jan 2013 11:22:42 +0000 (06:22 -0500)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 25 Feb 2013 14:30:42 +0000 (15:30 +0100)
commit18177d12c0cee5646c7c2045ea90ddf882011c97
tree9728ed0c398753643c27cb36476376551ba910e6
parent6fe367580339a3adf77273d4366652665319bdeb
arm: dma mapping: export arm iommu functions

This patch adds EXPORT_SYMBOL_GPL calls to the three arm iommu
functions - arm_iommu_create_mapping, arm_iommu_free_mapping
and arm_iommu_attach_device. These three functions are arm specific
wrapper functions for creating/freeing/using an iommu mapping and
they are called by various drivers. If any of these drivers need
to be built as dynamic modules, these functions need to be exported.

Changelog v2: using EXPORT_SYMBOL_GPL as suggested by Marek.

Signed-off-by: Prathyush K <prathyush.k@samsung.com>
[m.szyprowski: extended with recently introduced
 EXPORT_SYMBOL_GPL(arm_iommu_detach_device)]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/mm/dma-mapping.c