From patchwork Tue Apr 24 06:06:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 8061 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7183E23E4C for ; Tue, 24 Apr 2012 06:15:56 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2F0FBA18199 for ; Tue, 24 Apr 2012 06:15:56 +0000 (UTC) Received: by iage36 with SMTP id e36so795251iag.11 for ; Mon, 23 Apr 2012 23:15:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=0KZNEuP78UXXTTjhg+5G58Ti06fdCw1OFO8C+Pk6JGk=; b=AFoSMV+gLyQZ6npAQvjmB5LjQALAl/PnZuqu29zgNvyHvjSKNMdV7XBeZOh1o8y7wV LMbdkjrvIGZ4RV89BCJ1hlsK9mWjhjupLdbpSMNp+GgjTp8dLqoRgLrVqMA4Wg3mxvDP iXRZn21NONLyhNwTmd+Y/Vw0rESBrxtj0LfjlNWhBYf+USuwL0YeQC1rvLom/7BtaLYZ B5t7K0xqSFPHafI4HJOqT6WjsG/rP1EwWXQG4uy/bDfP1g/eJFaIltHpNYl3gqJc8z5d MdF4KyriFHVwrUWqGpTob2N6FutdvF0rebU+rszwHkASjIychd1zn7ynufP7IdiFdAv0 VTmA== Received: by 10.43.49.201 with SMTP id vb9mr708128icb.35.1335248155630; Mon, 23 Apr 2012 23:15:55 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.137.198 with SMTP id x6csp159828ibt; Mon, 23 Apr 2012 23:15:55 -0700 (PDT) Received: by 10.68.202.168 with SMTP id kj8mr1447402pbc.86.1335248154295; Mon, 23 Apr 2012 23:15:54 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id d1si19116992pbq.143.2012.04.23.23.15.51 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Apr 2012 23:15:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by pbcxa12 with SMTP id xa12so5506648pbc.37 for ; Mon, 23 Apr 2012 23:15:51 -0700 (PDT) Received: by 10.68.195.71 with SMTP id ic7mr1431064pbc.34.1335248151065; Mon, 23 Apr 2012 23:15:51 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id pn5sm4658011pbb.71.2012.04.23.23.15.47 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Apr 2012 23:15:50 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, patches@linaro.org, Thomas Abraham Subject: [PATCH] ARM: EXYNOS: Fix compilation error when CONFIG_OF is not defined Date: Tue, 24 Apr 2012 11:36:48 +0530 Message-Id: <1335247608-28518-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQl67FVUXu9T6aJhk6m3JBaERuz9fGBmpT4iSSGP6pgR9Bof1VjnUfxRQMf21R7Hk4fYO3IP 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 Signed-off-by: Tushar Behera --- 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 1396c06..42de625 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -536,7 +536,9 @@ void __init exynos5_init_irq(void) { int irq; +#ifdef CONFIG_OF of_irq_init(exynos4_dt_irq_match); +#endif for (irq = 0; irq < EXYNOS5_MAX_COMBINER_NR; irq++) { combiner_init(irq, (void __iomem *)S5P_VA_COMBINER(irq),