diff options
Diffstat (limited to 'arch/arm/plat-mxc/irq.c')
-rw-r--r-- | arch/arm/plat-mxc/irq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-mxc/irq.c b/arch/arm/plat-mxc/irq.c index 8aee76304f8f..778ddfe57d89 100644 --- a/arch/arm/plat-mxc/irq.c +++ b/arch/arm/plat-mxc/irq.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #define AVIC_FIPNDH 0x60 /* fast int pending high */ | 44 | #define AVIC_FIPNDH 0x60 /* fast int pending high */ |
45 | #define AVIC_FIPNDL 0x64 /* fast int pending low */ | 45 | #define AVIC_FIPNDL 0x64 /* fast int pending low */ |
46 | 46 | ||
47 | static void __iomem *avic_base; | 47 | void __iomem *avic_base; |
48 | 48 | ||
49 | int imx_irq_set_priority(unsigned char irq, unsigned char prio) | 49 | int imx_irq_set_priority(unsigned char irq, unsigned char prio) |
50 | { | 50 | { |
@@ -113,11 +113,11 @@ static struct irq_chip mxc_avic_chip = { | |||
113 | * interrupts. It registers the interrupt enable and disable functions | 113 | * interrupts. It registers the interrupt enable and disable functions |
114 | * to the kernel for each interrupt source. | 114 | * to the kernel for each interrupt source. |
115 | */ | 115 | */ |
116 | void __init mxc_init_irq(void) | 116 | void __init mxc_init_irq(void __iomem *irqbase) |
117 | { | 117 | { |
118 | int i; | 118 | int i; |
119 | 119 | ||
120 | avic_base = IO_ADDRESS(AVIC_BASE_ADDR); | 120 | avic_base = irqbase; |
121 | 121 | ||
122 | /* put the AVIC into the reset value with | 122 | /* put the AVIC into the reset value with |
123 | * all interrupts disabled | 123 | * all interrupts disabled |