]> git.baikalelectronics.ru Git - kernel.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)
commit4b07243b5892f87adbccdf675db9acdbf40864e6
tree9728ed0c398753643c27cb36476376551ba910e6
parent47b07a15a02b4c4112ce5863b6a48ce4536f8af0
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