diff options
author | Marc Zyngier <Marc.Zyngier@arm.com> | 2015-09-28 10:49:14 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-30 20:18:38 -0400 |
commit | f26527b1428f379fbd7edf779854c3b41bc0b3e5 (patch) | |
tree | 2837a4e9f91658bac81b2060483e432bd55e3678 /drivers/irqchip/irqchip.c | |
parent | 46e589a391809627144e6bee93d71d73fe915db2 (diff) |
irqchip / GIC: Convert the GIC driver to ACPI probing
Now that we have a basic infrastructure to register irqchips and
call them on discovery of a matching entry in MADT, convert the
GIC driver to this new probing method.
It ends up being a code deletion party, which is a rather good thing.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/irqchip/irqchip.c')
-rw-r--r-- | drivers/irqchip/irqchip.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/irqchip/irqchip.c b/drivers/irqchip/irqchip.c index 1ee773e98f5f..2b35e68bea82 100644 --- a/drivers/irqchip/irqchip.c +++ b/drivers/irqchip/irqchip.c | |||
@@ -27,8 +27,5 @@ extern struct of_device_id __irqchip_of_table[]; | |||
27 | void __init irqchip_init(void) | 27 | void __init irqchip_init(void) |
28 | { | 28 | { |
29 | of_irq_init(__irqchip_of_table); | 29 | of_irq_init(__irqchip_of_table); |
30 | #if defined(CONFIG_ARM64) && defined(CONFIG_ACPI) | ||
31 | acpi_gic_init(); /* Temporary hack */ | ||
32 | #endif | ||
33 | acpi_probe_device_table(irqchip); | 30 | acpi_probe_device_table(irqchip); |
34 | } | 31 | } |