ARM: mach-shmobile: ap4evb: evt2irq() update for MMCIF
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 1 Jun 2010 02:40:05 +0000 (02:40 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 08:15:21 +0000 (17:15 +0900)
This patch updates the irq numbers for MMCIF
to make use of evt2irq().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-ap4evb.c

index bdc4c6bd3108b71633ad5bb6e6b42bf71f5fcf77..67da7371451c62125af572e334f2c71b9a3c140c 100644 (file)
@@ -267,12 +267,12 @@ static struct resource sh_mmcif_resources[] = {
        },
        [1] = {
                /* MMC ERR */
-               .start  = 198,
+               .start  = evt2irq(0x1ac0),
                .flags  = IORESOURCE_IRQ,
        },
        [2] = {
                /* MMC NOR */
-               .start  = 199,
+               .start  = evt2irq(0x1ae0),
                .flags  = IORESOURCE_IRQ,
        },
 };
This page took 0.028268 seconds and 5 git commands to generate.