aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa27x.c
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2007-06-21 23:14:09 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-07-12 09:28:15 -0400
commitcd49104d99b56383a3b1fdce2f31018197093c31 (patch)
tree51ce37a0ff1396d6f9e5ca0f0f76deec127ead04 /arch/arm/mach-pxa/pxa27x.c
parent8118d124949ed8ff1a450e0c0d13cfab8c2ff7aa (diff)
[ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq()
/* should be ok this time, I aligned this patch to your arm:pxa2.mbox */ 1. move pxa25x specific IRQ initialization code to pxa25x_init_irq() and pxa27x code to pxa27x_init_irq(), remove pxa_init_irq() 2. replace all pxa_init_irq() with their PXA25x or PXA27x specific functions Signed-off-by: eric miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r--arch/arm/mach-pxa/pxa27x.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index ac40fa5f7709..1407985c8ab0 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -19,6 +19,7 @@
19 19
20#include <asm/hardware.h> 20#include <asm/hardware.h>
21#include <asm/irq.h> 21#include <asm/irq.h>
22#include <asm/arch/irqs.h>
22#include <asm/arch/pxa-regs.h> 23#include <asm/arch/pxa-regs.h>
23#include <asm/arch/ohci.h> 24#include <asm/arch/ohci.h>
24#include <asm/arch/pm.h> 25#include <asm/arch/pm.h>
@@ -202,6 +203,13 @@ static struct platform_device *devices[] __initdata = {
202 &ohci_device, 203 &ohci_device,
203}; 204};
204 205
206void __init pxa27x_init_irq(void)
207{
208 pxa_init_irq_low();
209 pxa_init_irq_high();
210 pxa_init_irq_gpio(128);
211}
212
205static int __init pxa27x_init(void) 213static int __init pxa27x_init(void)
206{ 214{
207 int ret = 0; 215 int ret = 0;