summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2012-12-06 07:31:10 +0100
committerKukjin Kim <kgene.kim@samsung.com>2012-12-19 04:00:25 +0100
commit12fee1949e2b302009026ce28e4ef6fac721d7ea (patch)
tree7dc3adcc5d39be9909abb5d1d2baf9ec3a48866b
parentARM: EXYNOS: fix build error when MFC is not selected (diff)
downloadlinux-12fee1949e2b302009026ce28e4ef6fac721d7ea.tar.xz
linux-12fee1949e2b302009026ce28e4ef6fac721d7ea.zip
ARM: EXYNOS: fix GIC using for EXYNOS5440
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/mach-exynos/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
index ddd4b72c6f9a..d6d0dc651089 100644
--- a/arch/arm/mach-exynos/common.c
+++ b/arch/arm/mach-exynos/common.c
@@ -679,7 +679,8 @@ void __init exynos5_init_irq(void)
* Theses parameters should be NULL and 0 because EXYNOS4
* uses GIC instead of VIC.
*/
- s5p_init_irq(NULL, 0);
+ if (!of_machine_is_compatible("samsung,exynos5440"))
+ s5p_init_irq(NULL, 0);
gic_arch_extn.irq_set_wake = s3c_irq_wake;
}