aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa25x.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/pxa25x.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/pxa25x.c')
-rw-r--r--arch/arm/mach-pxa/pxa25x.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c
index fe29c6e03a4f..a8796aea8353 100644
--- a/arch/arm/mach-pxa/pxa25x.c
+++ b/arch/arm/mach-pxa/pxa25x.c
@@ -22,6 +22,7 @@
22#include <linux/pm.h> 22#include <linux/pm.h>
23 23
24#include <asm/hardware.h> 24#include <asm/hardware.h>
25#include <asm/arch/irqs.h>
25#include <asm/arch/pxa-regs.h> 26#include <asm/arch/pxa-regs.h>
26#include <asm/arch/pm.h> 27#include <asm/arch/pm.h>
27 28
@@ -128,6 +129,12 @@ static struct pm_ops pxa25x_pm_ops = {
128}; 129};
129#endif 130#endif
130 131
132void __init pxa25x_init_irq(void)
133{
134 pxa_init_irq_low();
135 pxa_init_irq_gpio(85);
136}
137
131static int __init pxa25x_init(void) 138static int __init pxa25x_init(void)
132{ 139{
133 if (cpu_is_pxa21x() || cpu_is_pxa25x()) { 140 if (cpu_is_pxa21x() || cpu_is_pxa25x()) {