summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/irq.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-09-09 04:54:40 +0400
committerTony Lindgren <tony@atomide.com>2014-09-12 00:03:40 +0400
commitf8cc9eaf26dc026f134996a0cc6e1d1ce157ce9c (patch)
tree0847b4f61450f4872729270fc788bfc7a3ffd307 /arch/arm/mach-omap2/irq.c
parent272a8b04aba793347476ed768c5a2fe4fce046f9 (diff)
downloadlinux-f8cc9eaf26dc026f134996a0cc6e1d1ce157ce9c.tar.xz
arm: omap: irq: always define omap3 support
remove ifdef around omap3 INTC support. This will make it easier to reuse code for PM. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/irq.c')
-rw-r--r--arch/arm/mach-omap2/irq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c
index 1b3000618e64..4e8705d3d8d8 100644
--- a/arch/arm/mach-omap2/irq.c
+++ b/arch/arm/mach-omap2/irq.c
@@ -265,7 +265,6 @@ void __init omap_intc_of_init(void)
of_irq_init(irq_match);
}
-#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_SOC_AM33XX)
static struct omap_intc_regs intc_context;
void omap_intc_save_context(void)
@@ -333,4 +332,3 @@ asmlinkage void __exception_irq_entry omap3_intc_handle_irq(struct pt_regs *regs
{
omap_intc_handle_irq(regs);
}
-#endif /* CONFIG_ARCH_OMAP3 */