diff options
author | R Sricharan <r.sricharan@ti.com> | 2012-06-05 07:01:06 -0400 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2012-07-09 09:44:39 -0400 |
commit | c4082d499fa2c90c089830700e34b64e3b924bb8 (patch) | |
tree | a044ec9fffafdf79b258aa928892bc1408822107 /arch/arm/mach-omap2/common.h | |
parent | 283f708ca846903ee045e9f9374d627f7b47a711 (diff) |
ARM: omap2+: board-generic: clean up the irq data from board file
Move the irq_match arrays and the irq init functions of OMAP 2,3
and 4 based boards out of board-generic.c file and also rename the
irq init function to match the interrupt controller present in
the SOCs.
This is a preparatory patch to add the OMAP5 evm board's irq init
support with device tree.
Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r-- | arch/arm/mach-omap2/common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index 960f98451a2e..1f65b1871c23 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h | |||
@@ -239,6 +239,8 @@ void omap3_intc_prepare_idle(void); | |||
239 | void omap3_intc_resume_idle(void); | 239 | void omap3_intc_resume_idle(void); |
240 | void omap2_intc_handle_irq(struct pt_regs *regs); | 240 | void omap2_intc_handle_irq(struct pt_regs *regs); |
241 | void omap3_intc_handle_irq(struct pt_regs *regs); | 241 | void omap3_intc_handle_irq(struct pt_regs *regs); |
242 | void omap_intc_of_init(void); | ||
243 | void omap_gic_of_init(void); | ||
242 | 244 | ||
243 | #ifdef CONFIG_CACHE_L2X0 | 245 | #ifdef CONFIG_CACHE_L2X0 |
244 | extern void __iomem *omap4_get_l2cache_base(void); | 246 | extern void __iomem *omap4_get_l2cache_base(void); |
@@ -246,10 +248,10 @@ extern void __iomem *omap4_get_l2cache_base(void); | |||
246 | 248 | ||
247 | struct device_node; | 249 | struct device_node; |
248 | #ifdef CONFIG_OF | 250 | #ifdef CONFIG_OF |
249 | int __init omap_intc_of_init(struct device_node *node, | 251 | int __init intc_of_init(struct device_node *node, |
250 | struct device_node *parent); | 252 | struct device_node *parent); |
251 | #else | 253 | #else |
252 | int __init omap_intc_of_init(struct device_node *node, | 254 | int __init intc_of_init(struct device_node *node, |
253 | struct device_node *parent) | 255 | struct device_node *parent) |
254 | { | 256 | { |
255 | return 0; | 257 | return 0; |