summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-11-10 16:49:39 +0100
committerRich Felker <dalias@libc.org>2021-01-06 19:55:29 -0500
commitb89bc060b53e7054e5c8ca11feea4bc884d83611 (patch)
treed182e65e7a4b54a3044f94777aa9f80923694448
parenta118584e7e60fa72ee441055b33b41c3354dba7e (diff)
downloadlinux-sh-for-next.tar.gz
sh/intc: Restore devm_ioremap() alignmentfor-next
Restore alignment of the continuation of the devm_ioremap() call in register_intc_controller(). Fixes: 4bdc0d676a643140 ("remove ioremap_nocache and devm_ioremap_nocache") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rich Felker <dalias@libc.org>
-rw-r--r--drivers/sh/intc/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/intc/core.c b/drivers/sh/intc/core.c
index f8e070d67fa3..a14684ffe4c1 100644
--- a/drivers/sh/intc/core.c
+++ b/drivers/sh/intc/core.c
@@ -214,7 +214,7 @@ int __init register_intc_controller(struct intc_desc *desc)
d->window[k].phys = res->start;
d->window[k].size = resource_size(res);
d->window[k].virt = ioremap(res->start,
- resource_size(res));
+ resource_size(res));
if (!d->window[k].virt)
goto err2;
}