mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-29 20:30:35 +00:00
ARM: plat-orion: add reg offset to DT irq driver stub
With irqchip driver for Orion SoCs, reg layout of orion-intc has changed. This updates irq driver stub implemented before to the new reg layout by adding an offset to the base address passed by DT node. As orion5x still uses this stub, it cannot be removed yet. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
fd509ed63d
commit
fa8c5a811e
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ static int __init orion_add_irq_domain(struct device_node *np,
|
||||||
do {
|
do {
|
||||||
base = of_iomap(np, i);
|
base = of_iomap(np, i);
|
||||||
if (base) {
|
if (base) {
|
||||||
orion_irq_init(i * 32, base);
|
orion_irq_init(i * 32, base + 0x04);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
} while (base);
|
} while (base);
|
||||||
|
|
Loading…
Reference in a new issue