summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorGuzman Lugo, Fernando <x0095840@ti.com>2010-12-15 01:54:02 +0100
committerHari Kanigeri <h-kanigeri2@ti.com>2010-12-15 18:28:46 +0100
commit9205a109fbeee180254bb5a4020eb71d50735944 (patch)
treeaec5076a1c9df15fcc4d59817f74ea3edab69507 /arch/arm/plat-omap
parentOMAP: iovmm: add superpages support to fixed da address (diff)
downloadlinux-9205a109fbeee180254bb5a4020eb71d50735944.tar.xz
linux-9205a109fbeee180254bb5a4020eb71d50735944.zip
OMAP: iovmm: replace __iounmap with iounmap
__iounmap function is wrong for OMAP architecture, instead use iounmap which will call to the correct function. Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com> Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/iovmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c
index 93a34d92b3a2..fa6e64332a9e 100644
--- a/arch/arm/plat-omap/iovmm.c
+++ b/arch/arm/plat-omap/iovmm.c
@@ -821,7 +821,7 @@ void iommu_kunmap(struct iommu *obj, u32 da)
struct sg_table *sgt;
typedef void (*func_t)(const void *);
- sgt = unmap_vm_area(obj, da, (func_t)__iounmap,
+ sgt = unmap_vm_area(obj, da, (func_t)iounmap,
IOVMF_LINEAR | IOVMF_MMIO);
if (!sgt)
dev_dbg(obj->dev, "%s: No sgt\n", __func__);