arm: omap: irq: drop .handle_irq and .init_irq fields
authorFelipe Balbi <balbi@ti.com>
Tue, 9 Sep 2014 00:54:45 +0000 (17:54 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Sep 2014 20:05:31 +0000 (13:05 -0700)
now we can safely drop those fields from our machine_desc.

While at that, also drop the now unused omap_intc_of_init()
definition.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-generic.c
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/irq.c

index 0b311d51425f5910460fdbef51a3f9c36ae46544..4953059034016c368252333d84eef8db695aa495 100644 (file)
@@ -52,8 +52,6 @@ DT_MACHINE_START(OMAP242X_DT, "Generic OMAP2420 (Flattened Device Tree)")
        .reserve        = omap_reserve,
        .map_io         = omap242x_map_io,
        .init_early     = omap2420_init_early,
-       .init_irq       = omap_intc_of_init,
-       .handle_irq     = omap2_intc_handle_irq,
        .init_machine   = omap_generic_init,
        .init_time      = omap2_sync32k_timer_init,
        .dt_compat      = omap242x_boards_compat,
@@ -71,8 +69,6 @@ DT_MACHINE_START(OMAP243X_DT, "Generic OMAP2430 (Flattened Device Tree)")
        .reserve        = omap_reserve,
        .map_io         = omap243x_map_io,
        .init_early     = omap2430_init_early,
-       .init_irq       = omap_intc_of_init,
-       .handle_irq     = omap2_intc_handle_irq,
        .init_machine   = omap_generic_init,
        .init_time      = omap2_sync32k_timer_init,
        .dt_compat      = omap243x_boards_compat,
@@ -91,8 +87,6 @@ DT_MACHINE_START(OMAP3_DT, "Generic OMAP3 (Flattened Device Tree)")
        .reserve        = omap_reserve,
        .map_io         = omap3_map_io,
        .init_early     = omap3430_init_early,
-       .init_irq       = omap_intc_of_init,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap_generic_init,
        .init_late      = omap3_init_late,
        .init_time      = omap3_sync32k_timer_init,
@@ -109,8 +103,6 @@ DT_MACHINE_START(OMAP36XX_DT, "Generic OMAP36xx (Flattened Device Tree)")
        .reserve        = omap_reserve,
        .map_io         = omap3_map_io,
        .init_early     = omap3630_init_early,
-       .init_irq       = omap_intc_of_init,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap_generic_init,
        .init_late      = omap3_init_late,
        .init_time      = omap3_sync32k_timer_init,
@@ -128,8 +120,6 @@ DT_MACHINE_START(OMAP3_GP_DT, "Generic OMAP3-GP (Flattened Device Tree)")
        .reserve        = omap_reserve,
        .map_io         = omap3_map_io,
        .init_early     = omap3430_init_early,
-       .init_irq       = omap_intc_of_init,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap_generic_init,
        .init_late      = omap3_init_late,
        .init_time      = omap3_secure_sync32k_timer_init,
@@ -146,8 +136,6 @@ DT_MACHINE_START(AM3517_DT, "Generic AM3517 (Flattened Device Tree)")
        .reserve        = omap_reserve,
        .map_io         = omap3_map_io,
        .init_early     = am35xx_init_early,
-       .init_irq       = omap_intc_of_init,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap_generic_init,
        .init_late      = omap3_init_late,
        .init_time      = omap3_gptimer_timer_init,
@@ -166,8 +154,6 @@ DT_MACHINE_START(AM33XX_DT, "Generic AM33XX (Flattened Device Tree)")
        .reserve        = omap_reserve,
        .map_io         = am33xx_map_io,
        .init_early     = am33xx_init_early,
-       .init_irq       = omap_intc_of_init,
-       .handle_irq     = omap3_intc_handle_irq,
        .init_machine   = omap_generic_init,
        .init_late      = am33xx_init_late,
        .init_time      = omap3_gptimer_timer_init,
index 34ab9ee9ee437552e091dbf892c290d415b3e695..ed906bcca13396e448ee42ffbb4260bf9d0d8307 100644 (file)
@@ -221,7 +221,6 @@ void omap3_intc_prepare_idle(void);
 void omap3_intc_resume_idle(void);
 void omap2_intc_handle_irq(struct pt_regs *regs);
 void omap3_intc_handle_irq(struct pt_regs *regs);
-void omap_intc_of_init(void);
 void omap_gic_of_init(void);
 
 #ifdef CONFIG_CACHE_L2X0
index 280124371c075d40c0415d234a03d97559794320..465d7257056a6ce79ddc740287bffb81f9b9290c 100644 (file)
@@ -322,11 +322,6 @@ static int __init intc_of_init(struct device_node *node,
 
 IRQCHIP_DECLARE(omap_intc, "ti,omap2-intc", intc_of_init);
 
-void __init omap_intc_of_init(void)
-{
-       of_irq_init(&irqchip_of_match_omap_intc);
-}
-
 asmlinkage void __exception_irq_entry omap3_intc_handle_irq(struct pt_regs *regs)
 {
        omap_intc_handle_irq(regs);