summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/irq.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-05-25 19:36:19 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-07 14:10:54 +0400
commitc5aa0ad0c557c63dcaf8c8d75a3dd4c5e90724b3 (patch)
tree9750fbbf8e9c57e9cd9a948d8740fc65df93a5e6 /arch/arm/plat-mxc/irq.c
parent12308dfe3776ff5741fc675f2a352165e1628098 (diff)
downloadlinux-c5aa0ad0c557c63dcaf8c8d75a3dd4c5e90724b3.tar.xz
mxc: turn to soc specific init_irq functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/irq.c')
-rw-r--r--arch/arm/plat-mxc/irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/irq.c b/arch/arm/plat-mxc/irq.c
index 8aee76304f8f..618a8b24ed12 100644
--- a/arch/arm/plat-mxc/irq.c
+++ b/arch/arm/plat-mxc/irq.c
@@ -113,11 +113,11 @@ static struct irq_chip mxc_avic_chip = {
* interrupts. It registers the interrupt enable and disable functions
* to the kernel for each interrupt source.
*/
-void __init mxc_init_irq(void)
+void __init mxc_init_irq(void __iomem *irqbase)
{
int i;
- avic_base = IO_ADDRESS(AVIC_BASE_ADDR);
+ avic_base = irqbase;
/* put the AVIC into the reset value with
* all interrupts disabled