提交 9205a109 编写于 作者: G Guzman Lugo, Fernando 提交者: Hari Kanigeri

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: NFernando Guzman Lugo <x0095840@ti.com>
Acked-by: NHiroshi DOYU <Hiroshi.DOYU@nokia.com>
上级 ad108121
......@@ -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__);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册