Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tony Lindgren and committed by
Thomas Gleixner
c7f2a2ac 19f92b23

-9
-8
drivers/irqchip/irq-omap-intc.c
··· 364 364 omap_ack_irq(NULL); 365 365 } 366 366 367 - void __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 - 375 367 void __init omap3_init_irq(void) 376 368 { 377 369 omap_nr_irqs = 96;
-1
include/linux/irqchip/irq-omap-intc.h
··· 18 18 #ifndef __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H 19 19 #define __INCLUDE_LINUX_IRQCHIP_IRQ_OMAP_INTC_H 20 20 21 - void omap2_init_irq(void); 22 21 void omap3_init_irq(void); 23 22 24 23 int omap_irq_pending(void);