From: Rob Herring Date: Wed, 2 Jan 2013 15:38:53 +0000 (-0600) Subject: ARM: picoxcell: use common irqchip_init function X-Git-Tag: firefly_0821_release~3680^2~1068^2~7^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cdbac5bb619a91c896c5aaba531575b9df644d38;p=firefly-linux-kernel-4.4.55.git ARM: picoxcell: use common irqchip_init function Signed-off-by: Rob Herring Acked-by: Jamie Iles --- diff --git a/arch/arm/mach-picoxcell/common.c b/arch/arm/mach-picoxcell/common.c index b17401ac5f5b..35ee21443f03 100644 --- a/arch/arm/mach-picoxcell/common.c +++ b/arch/arm/mach-picoxcell/common.c @@ -9,6 +9,7 @@ */ #include #include +#include #include #include #include @@ -17,7 +18,6 @@ #include #include -#include #include #include "common.h" @@ -70,16 +70,6 @@ static const char *picoxcell_dt_match[] = { NULL }; -static const struct of_device_id vic_of_match[] __initconst = { - { .compatible = "arm,pl192-vic", .data = vic_of_init, }, - { /* Sentinel */ } -}; - -static void __init picoxcell_init_irq(void) -{ - of_irq_init(vic_of_match); -} - static void picoxcell_wdt_restart(char mode, const char *cmd) { /* @@ -97,7 +87,7 @@ 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 = picoxcell_init_irq, + .init_irq = irqchip_init, .timer = &dw_apb_timer, .init_machine = picoxcell_init_machine, .dt_compat = picoxcell_dt_match,