ARM: shmobile: R8A7779: use gic_iid() in SATA IRQ resource
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 7 Mar 2013 23:31:03 +0000 (02:31 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 12 Mar 2013 17:13:22 +0000 (02:13 +0900)
Commit "ARM: shmobile: r8a7779: use gic_iid macro" switched R8A7779 platform
devices to using gic_iid() macro instead of gic_spi() but commit "ARM: mach-
shmobile: r8a7779: add SATA support" added another use of gic_spi(). Convert
the SATA IRQ resource to using gic_iid().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7779.c

index 10031fef074af83d8722dd70fe3cdf44bbda5210..042df35e71a0714a89c2f4a1a73d44d4535859ee 100644 (file)
@@ -331,7 +331,7 @@ static struct resource sata_resources[] = {
                .flags  = IORESOURCE_MEM,
        },
        [1] = {
-               .start  = gic_spi(100),
+               .start  = gic_iid(0x84),
                .flags  = IORESOURCE_IRQ,
        },
 };