diff options
author | Tony Lindgren <tony@atomide.com> | 2015-01-13 14:23:26 -0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-01-26 11:38:23 +0100 |
commit | c7f2a2ac377626897ad68e63d24d85ee21f47bb1 (patch) | |
tree | 62b0870b786ad5ecb4baf239d99833184ed6ebe5 | |
parent | 19f92b237b1700d30b788f00b16a627ffbfdf0e5 (diff) | |
download | op-kernel-dev-c7f2a2ac377626897ad68e63d24d85ee21f47bb1.zip op-kernel-dev-c7f2a2ac377626897ad68e63d24d85ee21f47bb1.tar.gz |
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.c | 8 | ||||
-rw-r--r-- | include/linux/irqchip/irq-omap-intc.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c index b444d0e4..a569c6d 100644 --- a/drivers/irqchip/irq-omap-intc.c +++ b/drivers/irqchip/irq-omap-intc.c @@ -364,14 +364,6 @@ out: omap_ack_irq(NULL); } -void __init omap2_init_irq(void) -{ - omap_nr_irqs = 96; - omap_nr_pending = 3; - omap_init_irq(OMAP24XX_IC_BASE, NULL); - set_handle_irq(omap_intc_handle_irq); -} - void __init omap3_init_irq(void) { omap_nr_irqs = 96; diff --git a/include/linux/irqchip/irq-omap-intc.h b/include/linux/irqchip/irq-omap-intc.h index bda426a..2e3d1af 100644 --- a/include/linux/irqchip/irq-omap-intc.h +++ b/include/linux/irqchip/irq-omap-intc.h @@ -18,7 +18,6 @@ #ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H #define __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H -void omap2_init_irq(void); void omap3_init_irq(void); int omap_irq_pending(void); |