]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
OMAP: iovmm: replace __iounmap with iounmap
authorGuzman Lugo, Fernando <x0095840@ti.com>
Wed, 15 Dec 2010 00:54:02 +0000 (00:54 +0000)
committerHari Kanigeri <h-kanigeri2@ti.com>
Wed, 15 Dec 2010 17:28:46 +0000 (11:28 -0600)
__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>
arch/arm/plat-omap/iovmm.c

index 93a34d92b3a2206517c65bbc86d2e0bf183c41b5..fa6e64332a9ec4e68e405d4854aed4a7911e3dcd 100644 (file)
@@ -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__);