aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuzman Lugo, Fernando <x0095840@ti.com>2010-12-15 00:54:02 +0000
committerHari Kanigeri <h-kanigeri2@ti.com>2010-12-15 11:28:46 -0600
commit9205a109fbeee180254bb5a4020eb71d50735944 (patch)
treeaec5076a1c9df15fcc4d59817f74ea3edab69507
parentad1081210f3c91874f9fe9b48c3934c7db9714b7 (diff)
downloadlinux-linaro-stable-9205a109fbeee180254bb5a4020eb71d50735944.tar.gz
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>
-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__);