Commit b89bc060 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Rich Felker

sh/intc: Restore devm_ioremap() alignment

Restore alignment of the continuation of the devm_ioremap() call in
register_intc_controller().

Fixes: 4bdc0d67 ("remove ioremap_nocache and devm_ioremap_nocache")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarRich Felker <dalias@libc.org>
parent a118584e
...@@ -214,7 +214,7 @@ int __init register_intc_controller(struct intc_desc *desc) ...@@ -214,7 +214,7 @@ int __init register_intc_controller(struct intc_desc *desc)
d->window[k].phys = res->start; d->window[k].phys = res->start;
d->window[k].size = resource_size(res); d->window[k].size = resource_size(res);
d->window[k].virt = ioremap(res->start, d->window[k].virt = ioremap(res->start,
resource_size(res)); resource_size(res));
if (!d->window[k].virt) if (!d->window[k].virt)
goto err2; goto err2;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment