Skip to content

Commit

Permalink
sh/intc: Restore devm_ioremap() alignment
Browse files Browse the repository at this point in the history
Restore alignment of the continuation of the devm_ioremap() call in
register_intc_controller().

Fixes: 4bdc0d6 ("remove ioremap_nocache and devm_ioremap_nocache")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rich Felker <dalias@libc.org>
  • Loading branch information
Geert Uytterhoeven authored and Rich Felker committed Jan 7, 2021
1 parent a118584 commit b89bc06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sh/intc/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b89bc06

Please sign in to comment.