]> Pileus Git - ~andy/linux/commitdiff
ARM: picoxcell: Remove init_irq declaration in machine description
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 14 May 2013 15:38:37 +0000 (17:38 +0200)
committerJamie Iles <jamie@jamieiles.com>
Tue, 14 May 2013 16:19:12 +0000 (17:19 +0100)
Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is
specified") removed the need to explictly setup the init_irq field in
the machine description when using only irqchip_init. Remove that
declaration for picoxcell as well.

[ jiles: removed other, unused irq includes. ]

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
arch/arm/mach-picoxcell/common.c

index f6f71bb65b5aedd2e7483a29633ba881b1dc177d..b069fa6bb0e2219ede9c4e6bcd581764c6a778a3 100644 (file)
@@ -8,12 +8,8 @@
  * All enquiries to support@picochip.com
  */
 #include <linux/delay.h>
-#include <linux/irq.h>
-#include <linux/irqchip.h>
-#include <linux/irqdomain.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
-#include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <linux/dw_apb_timer.h>
 
@@ -85,7 +81,6 @@ static void picoxcell_wdt_restart(char mode, const char *cmd)
 DT_MACHINE_START(PICOXCELL, "Picochip picoXcell")
        .map_io         = picoxcell_map_io,
        .nr_irqs        = NR_IRQS_LEGACY,
-       .init_irq       = irqchip_init,
        .init_time      = dw_apb_timer_init,
        .init_machine   = picoxcell_init_machine,
        .dt_compat      = picoxcell_dt_match,