diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-04-24 16:25:01 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-04-24 16:50:00 -0400 |
commit | 6fff5a11fd07d7f918ac3737da4846558518c31d (patch) | |
tree | 3cbac55fdc8e4e2235ee4e27d622db82173f755c | |
parent | ffabec4ef7ad6ca9365d39f643b8a24c0fce04e7 (diff) |
ARM: EXYNOS: Fix compilation error when CONFIG_OF is not defined
Fixed following compile time error.
arch/arm/mach-exynos/common.c: In function 'exynos5_init_irq':
arch/arm/mach-exynos/common.c:539:2: error: implicit declaration of function 'of_irq_init'
arch/arm/mach-exynos/common.c:539:14: error: 'exynos4_dt_irq_match' undeclared (first use in this function)
arch/arm/mach-exynos/common.c:539:14: note: each undeclared identifier is reported only once for each function it appears in
Cc: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/mach-exynos/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index 6c0e4f54c94d..5ccd6e80a607 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c | |||
@@ -547,7 +547,9 @@ void __init exynos5_init_irq(void) | |||
547 | { | 547 | { |
548 | int irq; | 548 | int irq; |
549 | 549 | ||
550 | #ifdef CONFIG_OF | ||
550 | of_irq_init(exynos4_dt_irq_match); | 551 | of_irq_init(exynos4_dt_irq_match); |
552 | #endif | ||
551 | 553 | ||
552 | for (irq = 0; irq < EXYNOS5_MAX_COMBINER_NR; irq++) { | 554 | for (irq = 0; irq < EXYNOS5_MAX_COMBINER_NR; irq++) { |
553 | combiner_init(irq, (void __iomem *)S5P_VA_COMBINER(irq), | 555 | combiner_init(irq, (void __iomem *)S5P_VA_COMBINER(irq), |