]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
sh/intc: Restore devm_ioremap() alignment
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Nov 2020 15:49:39 +0000 (16:49 +0100)
committerRich Felker <dalias@libc.org>
Thu, 7 Jan 2021 00:55:29 +0000 (19:55 -0500)
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>
drivers/sh/intc/core.c

index f8e070d67fa3266d8c921c58dfb92c74373a3f26..a14684ffe4c1a8ef459a1ce9c5e6691b9e7e6601 100644 (file)
@@ -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;
                }