From patchwork Wed Mar 7 05:20:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 7133 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 ABEB923E64 for ; Wed, 7 Mar 2012 05:27:14 +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 6E046A181C8 for ; Wed, 7 Mar 2012 05:27:14 +0000 (UTC) Received: by iage36 with SMTP id e36so10900885iag.11 for ; Tue, 06 Mar 2012 21:27:13 -0800 (PST) Received: by 10.50.158.133 with SMTP id wu5mr11050829igb.50.1331098033928; Tue, 06 Mar 2012 21:27:13 -0800 (PST) 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.53.18 with SMTP id k18csp2506ibg; Tue, 6 Mar 2012 21:27:13 -0800 (PST) Received: by 10.68.233.98 with SMTP id tv2mr1860072pbc.51.1331098033253; Tue, 06 Mar 2012 21:27:13 -0800 (PST) Received: from mail-pw0-f50.google.com (mail-pw0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id g6si244066pbo.40.2012.03.06.21.27.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Mar 2012 21:27:13 -0800 (PST) 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 xa12so238013pbc.37 for ; Tue, 06 Mar 2012 21:27:12 -0800 (PST) Received: by 10.68.194.65 with SMTP id hu1mr1858143pbc.75.1331098032882; Tue, 06 Mar 2012 21:27:12 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ku6sm165730pbb.35.2012.03.06.21.27.08 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Mar 2012 21:27:10 -0800 (PST) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org Cc: thomas.abraham@linaro.org, kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH] ARM: EXYNOS: Fix compilation error with mach-exynos4-dt board Date: Wed, 7 Mar 2012 10:50:26 +0530 Message-Id: <1331097626-5369-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlfaTkNLu/5rIm9fN96qVcRBckJzUW7llujkFyVJSWALZSbPpqxFypXX+Ny+u7CrskTs11O Commit 84499abd19d4 ("ARM: EXYNOS: add support uart for EXYNOS4 and EXYNOS5") renames S5P_PA_UARTn to EXYNOS4_PA_UARTn. Hence we need to do similar modification in mach-exynos4-dt.c to fix compilation error. arch/arm/mach-exynos/mach-exynos4-dt.c:40:2: error: ‘S5P_PA_UART0’ undeclared here (not in a function) Signed-off-by: Tushar Behera --- arch/arm/mach-exynos/mach-exynos4-dt.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-exynos/mach-exynos4-dt.c b/arch/arm/mach-exynos/mach-exynos4-dt.c index e6b02fd..8245f1c 100644 --- a/arch/arm/mach-exynos/mach-exynos4-dt.c +++ b/arch/arm/mach-exynos/mach-exynos4-dt.c @@ -37,13 +37,13 @@ * data from the device tree. */ static const struct of_dev_auxdata exynos4210_auxdata_lookup[] __initconst = { - OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART0, + OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART0, "exynos4210-uart.0", NULL), - OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART1, + OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART1, "exynos4210-uart.1", NULL), - OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART2, + OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART2, "exynos4210-uart.2", NULL), - OF_DEV_AUXDATA("samsung,exynos4210-uart", S5P_PA_UART3, + OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS4_PA_UART3, "exynos4210-uart.3", NULL), OF_DEV_AUXDATA("samsung,exynos4210-sdhci", EXYNOS4_PA_HSMMC(0), "exynos4-sdhci.0", NULL),