aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorGuzman Lugo, Fernando <x0095840@ti.com>2010-12-14 19:54:02 -0500
committerHari Kanigeri <h-kanigeri2@ti.com>2010-12-15 12:28:46 -0500
commit9205a109fbeee180254bb5a4020eb71d50735944 (patch)
treeaec5076a1c9df15fcc4d59817f74ea3edab69507 /arch/arm/plat-omap
parentad1081210f3c91874f9fe9b48c3934c7db9714b7 (diff)
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)
821 struct sg_table *sgt; 821 struct sg_table *sgt;
822 typedef void (*func_t)(const void *); 822 typedef void (*func_t)(const void *);
823 823
824 sgt = unmap_vm_area(obj, da, (func_t)__iounmap, 824 sgt = unmap_vm_area(obj, da, (func_t)iounmap,
825 IOVMF_LINEAR | IOVMF_MMIO); 825 IOVMF_LINEAR | IOVMF_MMIO);
826 if (!sgt) 826 if (!sgt)
827 dev_dbg(obj->dev, "%s: No sgt\n", __func__); 827 dev_dbg(obj->dev, "%s: No sgt\n", __func__);