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 bdc4c6b..67da737 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,
        },
 };