From: Guzman Lugo, Fernando Date: Wed, 15 Dec 2010 00:54:02 +0000 (+0000) Subject: OMAP: iovmm: replace __iounmap with iounmap X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9205a109fbeee180254bb5a4020eb71d50735944;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 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__);