Commit cdbac5bb authored by Rob Herring's avatar Rob Herring

ARM: picoxcell: use common irqchip_init function

Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarJamie Iles <jamie@jamieiles.com>
parent e9c51558
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
*/ */
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/irq.h> #include <linux/irq.h>
#include <linux/irqchip.h>
#include <linux/irqdomain.h> #include <linux/irqdomain.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_address.h> #include <linux/of_address.h>
...@@ -17,7 +18,6 @@ ...@@ -17,7 +18,6 @@
#include <linux/dw_apb_timer.h> #include <linux/dw_apb_timer.h>
#include <asm/mach/arch.h> #include <asm/mach/arch.h>
#include <asm/hardware/vic.h>
#include <asm/mach/map.h> #include <asm/mach/map.h>
#include "common.h" #include "common.h"
...@@ -70,16 +70,6 @@ static const char *picoxcell_dt_match[] = { ...@@ -70,16 +70,6 @@ static const char *picoxcell_dt_match[] = {
NULL 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) static void picoxcell_wdt_restart(char mode, const char *cmd)
{ {
/* /*
...@@ -97,7 +87,7 @@ 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") DT_MACHINE_START(PICOXCELL, "Picochip picoXcell")
.map_io = picoxcell_map_io, .map_io = picoxcell_map_io,
.nr_irqs = NR_IRQS_LEGACY, .nr_irqs = NR_IRQS_LEGACY,
.init_irq = picoxcell_init_irq, .init_irq = irqchip_init,
.timer = &dw_apb_timer, .timer = &dw_apb_timer,
.init_machine = picoxcell_init_machine, .init_machine = picoxcell_init_machine,
.dt_compat = picoxcell_dt_match, .dt_compat = picoxcell_dt_match,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment