aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2015-01-13 17:23:26 -0500
committerThomas Gleixner <tglx@linutronix.de>2015-01-26 05:38:23 -0500
commitc7f2a2ac377626897ad68e63d24d85ee21f47bb1 (patch)
tree62b0870b786ad5ecb4baf239d99833184ed6ebe5
parent19f92b237b1700d30b788f00b16a627ffbfdf0e5 (diff)
irqchip: omap-intc: Remove unused legacy interface for omap2
Nowadays omap2 is booting in device tree only mode so there is no need to keep the legacy interface around for omap2_init_irq(). Signed-off-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Cc: Jason Cooper <jason@lakedaemon.net> Link: http://lkml.kernel.org/r/1421187806-6804-3-git-send-email-tony@atomide.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--drivers/irqchip/irq-omap-intc.c8
-rw-r--r--include/linux/irqchip/irq-omap-intc.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c
index b444d0e48f1f..a569c6dbd1d1 100644
--- a/drivers/irqchip/irq-omap-intc.c
+++ b/drivers/irqchip/irq-omap-intc.c
@@ -364,14 +364,6 @@ out:
364 omap_ack_irq(NULL); 364 omap_ack_irq(NULL);
365} 365}
366 366
367void __init omap2_init_irq(void)
368{
369 omap_nr_irqs = 96;
370 omap_nr_pending = 3;
371 omap_init_irq(OMAP24XX_IC_BASE, NULL);
372 set_handle_irq(omap_intc_handle_irq);
373}
374
375void __init omap3_init_irq(void) 367void __init omap3_init_irq(void)
376{ 368{
377 omap_nr_irqs = 96; 369 omap_nr_irqs = 96;
diff --git a/include/linux/irqchip/irq-omap-intc.h b/include/linux/irqchip/irq-omap-intc.h
index bda426ab0ab7..2e3d1afeb674 100644
--- a/include/linux/irqchip/irq-omap-intc.h
+++ b/include/linux/irqchip/irq-omap-intc.h
@@ -18,7 +18,6 @@
18#ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H 18#ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H
19#define __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H 19#define __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H
20 20
21void omap2_init_irq(void);
22void omap3_init_irq(void); 21void omap3_init_irq(void);
23 22
24int omap_irq_pending(void); 23int omap_irq_pending(void);