1 Jun 2010 04:40
[PATCH] ARM: mach-shmobile: ap4evb: evt2irq() update for MMCIF
Kuninori Morimoto <kuninori.morimoto.gx <at> renesas.com>
2010-06-01 02:40:05 GMT
2010-06-01 02:40:05 GMT
This patch updates the irq numbers for MMCIF
to make use of evt2irq().
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx <at> renesas.com>
---
arch/arm/mach-shmobile/board-ap4evb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index bdc4c6b..67da737 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
<at> <at> -267,12 +267,12 <at> <at> 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,
},
};
--
--
1.7.0.4
(Continue reading)
RSS Feed