From: Guzman Lugo, Fernando Date: Wed, 15 Dec 2010 00:54:02 +0000 (+0000) Subject: OMAP: iovmm: replace __iounmap with iounmap X-Git-Tag: upstream/snapshot3+hdmi~12134^2~19^2^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9205a109fbeee180254bb5a4020eb71d50735944;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Acked-by: Hiroshi DOYU --- diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c index 93a34d9..fa6e643 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__);