Skip to content

Commit

Permalink
ARM: shmobile: marzen: Use gic_iid macro for ICCIAR / interrupt ID
Browse files Browse the repository at this point in the history
ARM: shmobile: add gic_iid macro for ICCIAR / interrupt ID
enabled to use gic_iid macro.
This patch exchange current GIC interrupt setting
from gic_spi() to gic_iid()

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
[ horms+renesas@verge.net.au: Split irq.h portion into a separate patch ]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Kuninori Morimoto authored and Simon Horman committed Mar 18, 2013
1 parent 5377762 commit 0b6794e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/arm/mach-shmobile/board-marzen.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static struct resource smsc911x_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = gic_spi(28), /* IRQ 1 */
.start = gic_iid(0x3c), /* IRQ 1 */
.flags = IORESOURCE_IRQ,
},
};
Expand Down Expand Up @@ -97,7 +97,7 @@ static struct resource sdhi0_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = gic_spi(104),
.start = gic_iid(0x88),
.flags = IORESOURCE_IRQ,
},
};
Expand Down Expand Up @@ -215,7 +215,7 @@ static struct resource ehci0_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = gic_spi(44),
.start = gic_iid(0x4c),
.flags = IORESOURCE_IRQ,
},
};
Expand All @@ -239,7 +239,7 @@ static struct resource ehci1_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = gic_spi(45),
.start = gic_iid(0x4d),
.flags = IORESOURCE_IRQ,
},
};
Expand Down Expand Up @@ -269,7 +269,7 @@ static struct resource ohci0_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = gic_spi(44),
.start = gic_iid(0x4c),
.flags = IORESOURCE_IRQ,
},
};
Expand All @@ -293,7 +293,7 @@ static struct resource ohci1_resources[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = gic_spi(45),
.start = gic_iid(0x4d),
.flags = IORESOURCE_IRQ,
},
};
Expand Down

0 comments on commit 0b6794e

Please sign in to comment.