]> git.karo-electronics.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>
Wed, 6 Feb 2013 07:48:18 +0000 (08:48 +0100)
commitd4acf3286ee88dcc218c4e9bfc040dc229435a13
tree1d4905f0d30c4f567d0105e2467ede6f078825d0
parent413b5e16ef4872361b559316d033fe607430faba
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