Sfoglia il codice sorgente

ARM: mach-shmobile: ap4evb: evt2irq() update for MMCIF

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>
Kuninori Morimoto 15 anni fa
parent
commit
8d56934108
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      arch/arm/mach-shmobile/board-ap4evb.c

+ 2 - 2
arch/arm/mach-shmobile/board-ap4evb.c

@@ -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,
 	},
 };