]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
irqchip: omap-intc: Remove unused legacy interface for omap2
authorTony Lindgren <tony@atomide.com>
Tue, 13 Jan 2015 22:23:26 +0000 (14:23 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 26 Jan 2015 10:38:23 +0000 (11:38 +0100)
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>
drivers/irqchip/irq-omap-intc.c
include/linux/irqchip/irq-omap-intc.h

index b444d0e48f1fc4b73046e5b87913dd2ab204a468..a569c6dbd1d16ee92bffabb6e45f9a6a2cbed4be 100644 (file)
@@ -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;
index bda426ab0ab7d58520b9021ed4b12952624c6ecb..2e3d1afeb67435734f1eda025abac349bef1c488 100644 (file)
@@ -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);