diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2013-03-29 17:05:51 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-04-02 21:50:44 -0400 |
commit | 757688c8b51073450b77940dcb94f33bf4c3de88 (patch) | |
tree | 75dbf878f36769e0c84b53df29fe54cf6b4fc205 /arch | |
parent | fe0a14417bc95492621b45a3cf088ce53ee05c36 (diff) |
ARM: shmobile: mackerel: add interrupt names for SDHI0
To unify with SDHI1 also use named IRQs for SDHI0. This also clarifies
which specific IRQs are used.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index a47a11160693..b976ad682016 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -979,12 +979,11 @@ static struct resource sdhi0_resources[] = { | |||
979 | .end = 0xe68500ff, | 979 | .end = 0xe68500ff, |
980 | .flags = IORESOURCE_MEM, | 980 | .flags = IORESOURCE_MEM, |
981 | }, { | 981 | }, { |
982 | .start = evt2irq(0x0e00) /* SDHI0_SDHI0I0 */, | 982 | .name = SH_MOBILE_SDHI_IRQ_SDCARD, |
983 | .flags = IORESOURCE_IRQ, | ||
984 | }, { | ||
985 | .start = evt2irq(0x0e20) /* SDHI0_SDHI0I1 */, | 983 | .start = evt2irq(0x0e20) /* SDHI0_SDHI0I1 */, |
986 | .flags = IORESOURCE_IRQ, | 984 | .flags = IORESOURCE_IRQ, |
987 | }, { | 985 | }, { |
986 | .name = SH_MOBILE_SDHI_IRQ_SDIO, | ||
988 | .start = evt2irq(0x0e40) /* SDHI0_SDHI0I2 */, | 987 | .start = evt2irq(0x0e40) /* SDHI0_SDHI0I2 */, |
989 | .flags = IORESOURCE_IRQ, | 988 | .flags = IORESOURCE_IRQ, |
990 | }, | 989 | }, |
@@ -1020,10 +1019,6 @@ static struct resource sdhi1_resources[] = { | |||
1020 | .end = 0xe68600ff, | 1019 | .end = 0xe68600ff, |
1021 | .flags = IORESOURCE_MEM, | 1020 | .flags = IORESOURCE_MEM, |
1022 | }, { | 1021 | }, { |
1023 | .name = SH_MOBILE_SDHI_IRQ_CARD_DETECT, | ||
1024 | .start = evt2irq(0x0e80), /* SDHI1_SDHI1I0 */ | ||
1025 | .flags = IORESOURCE_IRQ, | ||
1026 | }, { | ||
1027 | .name = SH_MOBILE_SDHI_IRQ_SDCARD, | 1022 | .name = SH_MOBILE_SDHI_IRQ_SDCARD, |
1028 | .start = evt2irq(0x0ea0), /* SDHI1_SDHI1I1 */ | 1023 | .start = evt2irq(0x0ea0), /* SDHI1_SDHI1I1 */ |
1029 | .flags = IORESOURCE_IRQ, | 1024 | .flags = IORESOURCE_IRQ, |