ARM: EXYNOS: Fix incorrect initialization of GIC

Use the of_irq_init() call to setup the gic which also properly
registers the gic device node pointer with gic irq domain,
without which all interrupt specifier translations for gic fail.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
Thomas Abraham 2012-04-20 17:26:23 -07:00 committed by Kukjin Kim
parent 8482c81c77
commit 5699b0ca05
1 changed files with 1 additions and 1 deletions

View File

@ -547,7 +547,7 @@ void __init exynos5_init_irq(void)
{
int irq;
gic_init(0, IRQ_PPI(0), S5P_VA_GIC_DIST, S5P_VA_GIC_CPU);
of_irq_init(exynos4_dt_irq_match);
for (irq = 0; irq < EXYNOS5_MAX_COMBINER_NR; irq++) {
combiner_init(irq, (void __iomem *)S5P_VA_COMBINER(irq),