diff options
Diffstat (limited to 'arch/arm/mach-exynos/common.c')
-rw-r--r-- | arch/arm/mach-exynos/common.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index 1a89824a5f78..3a3250fda93a 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/of_irq.h> | 22 | #include <linux/of_irq.h> |
23 | #include <linux/export.h> | 23 | #include <linux/export.h> |
24 | #include <linux/irqdomain.h> | 24 | #include <linux/irqdomain.h> |
25 | #include <linux/irqchip.h> | ||
25 | #include <linux/of_address.h> | 26 | #include <linux/of_address.h> |
26 | 27 | ||
27 | #include <asm/proc-fns.h> | 28 | #include <asm/proc-fns.h> |
@@ -644,8 +645,6 @@ static int __init combiner_of_init(struct device_node *np, | |||
644 | } | 645 | } |
645 | 646 | ||
646 | static const struct of_device_id exynos_dt_irq_match[] = { | 647 | static const struct of_device_id exynos_dt_irq_match[] = { |
647 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | ||
648 | { .compatible = "arm,cortex-a15-gic", .data = gic_of_init, }, | ||
649 | { .compatible = "samsung,exynos4210-combiner", | 648 | { .compatible = "samsung,exynos4210-combiner", |
650 | .data = combiner_of_init, }, | 649 | .data = combiner_of_init, }, |
651 | {}, | 650 | {}, |
@@ -661,8 +660,10 @@ void __init exynos4_init_irq(void) | |||
661 | if (!of_have_populated_dt()) | 660 | if (!of_have_populated_dt()) |
662 | gic_init_bases(0, IRQ_PPI(0), S5P_VA_GIC_DIST, S5P_VA_GIC_CPU, gic_bank_offset, NULL); | 661 | gic_init_bases(0, IRQ_PPI(0), S5P_VA_GIC_DIST, S5P_VA_GIC_CPU, gic_bank_offset, NULL); |
663 | #ifdef CONFIG_OF | 662 | #ifdef CONFIG_OF |
664 | else | 663 | else { |
664 | irqchip_init(); | ||
665 | of_irq_init(exynos_dt_irq_match); | 665 | of_irq_init(exynos_dt_irq_match); |
666 | } | ||
666 | #endif | 667 | #endif |
667 | 668 | ||
668 | if (!of_have_populated_dt()) | 669 | if (!of_have_populated_dt()) |
@@ -679,6 +680,7 @@ void __init exynos4_init_irq(void) | |||
679 | void __init exynos5_init_irq(void) | 680 | void __init exynos5_init_irq(void) |
680 | { | 681 | { |
681 | #ifdef CONFIG_OF | 682 | #ifdef CONFIG_OF |
683 | irqchip_init(); | ||
682 | of_irq_init(exynos_dt_irq_match); | 684 | of_irq_init(exynos_dt_irq_match); |
683 | #endif | 685 | #endif |
684 | /* | 686 | /* |