From patchwork Wed Mar 7 06:09:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 7134 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 3B9A023E67 for ; Wed, 7 Mar 2012 06:16:11 +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 0324DA183F0 for ; Wed, 7 Mar 2012 06:16:10 +0000 (UTC) Received: by iage36 with SMTP id e36so10963267iag.11 for ; Tue, 06 Mar 2012 22:16:09 -0800 (PST) Received: by 10.50.42.132 with SMTP id o4mr736428igl.58.1331100969329; Tue, 06 Mar 2012 22:16:09 -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 k18csp3189ibg; Tue, 6 Mar 2012 22:16:08 -0800 (PST) Received: by 10.68.227.105 with SMTP id rz9mr1937475pbc.98.1331100968080; Tue, 06 Mar 2012 22:16:08 -0800 (PST) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx.google.com with ESMTPS id a7si284444pbc.327.2012.03.06.22.16.07 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Mar 2012 22:16:08 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.44; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by dakl33 with SMTP id l33so22392110dak.17 for ; Tue, 06 Mar 2012 22:16:07 -0800 (PST) Received: by 10.68.130.233 with SMTP id oh9mr1962530pbb.92.1331100967718; Tue, 06 Mar 2012 22:16:07 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id b6sm228751pbf.32.2012.03.06.22.16.04 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Mar 2012 22:16:07 -0800 (PST) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] ARM: EXYNOS: Fix compilation error. Date: Wed, 7 Mar 2012 11:39:19 +0530 Message-Id: <1331100559-28849-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQn5xcXjBFe1qVAdiwjr7ExTiJA8GqJpo1jncqa/80FF1Tx4weZXZN6wpuW+igYrJdNKpszz Commit 734b5bb7375 ("Merge branch 'next/soc-exynos5250-arch-wip' into for-next") on for-next branch of Kukjin's tree gives the following build errors: arch/arm/mach-exynos/clock-exynos4.c:1328:2: error: ‘clk_sclk_mmc0’ undeclared here (not in a function) arch/arm/mach-exynos/clock-exynos4.c:1329:2: error: ‘clk_sclk_mmc1’ undeclared here (not in a function) arch/arm/mach-exynos/clock-exynos4.c:1330:2: error: ‘clk_sclk_mmc2’ undeclared here (not in a function) arch/arm/mach-exynos/clock-exynos4.c:1331:2: error: ‘clk_sclk_mmc3’ undeclared here (not in a function) This commit fixes the same. Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos/clock-exynos4.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos4.c b/arch/arm/mach-exynos/clock-exynos4.c index d72a1fe..bcb59e7 100644 --- a/arch/arm/mach-exynos/clock-exynos4.c +++ b/arch/arm/mach-exynos/clock-exynos4.c @@ -1325,10 +1325,10 @@ static struct clk_lookup exynos4_clk_lookup[] = { CLKDEV_INIT("exynos4210-uart.1", "clk_uart_baud0", &exynos4_clk_sclk_uart1.clk), CLKDEV_INIT("exynos4210-uart.2", "clk_uart_baud0", &exynos4_clk_sclk_uart2.clk), CLKDEV_INIT("exynos4210-uart.3", "clk_uart_baud0", &exynos4_clk_sclk_uart3.clk), - CLKDEV_INIT("exynos4-sdhci.0", "mmc_busclk.2", &clk_sclk_mmc0.clk), - CLKDEV_INIT("exynos4-sdhci.1", "mmc_busclk.2", &clk_sclk_mmc1.clk), - CLKDEV_INIT("exynos4-sdhci.2", "mmc_busclk.2", &clk_sclk_mmc2.clk), - CLKDEV_INIT("exynos4-sdhci.3", "mmc_busclk.2", &clk_sclk_mmc3.clk), + CLKDEV_INIT("exynos4-sdhci.0", "mmc_busclk.2", &exynos4_clk_sclk_mmc0.clk), + CLKDEV_INIT("exynos4-sdhci.1", "mmc_busclk.2", &exynos4_clk_sclk_mmc1.clk), + CLKDEV_INIT("exynos4-sdhci.2", "mmc_busclk.2", &exynos4_clk_sclk_mmc2.clk), + CLKDEV_INIT("exynos4-sdhci.3", "mmc_busclk.2", &exynos4_clk_sclk_mmc3.clk), CLKDEV_INIT("dma-pl330.0", "apb_pclk", &exynos4_clk_pdma0), CLKDEV_INIT("dma-pl330.1", "apb_pclk", &exynos4_clk_pdma1), CLKDEV_INIT("s3c64xx-spi.0", "spi_busclk0", &exynos4_clk_sclk_spi0.clk),