]> Pileus Git - ~andy/linux/commitdiff
ARM: plat-orion: add reg offset to DT irq driver stub
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 2 Jul 2013 11:03:43 +0000 (13:03 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 25 Jul 2013 21:07:33 +0000 (21:07 +0000)
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>
arch/arm/plat-orion/irq.c

index 8db0b981ca64f2b368e3fed396637c0957869791..c492e1b3dfdb29fab2e48ebce01342b504a7f4e4 100644 (file)
@@ -47,7 +47,7 @@ static int __init orion_add_irq_domain(struct device_node *np,
        do {
                base = of_iomap(np, i);
                if (base) {
-                       orion_irq_init(i * 32, base);
+                       orion_irq_init(i * 32, base + 0x04);
                        i++;
                }
        } while (base);