From patchwork Wed Aug 7 04:48:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2839872 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3E4DDBF535 for ; Wed, 7 Aug 2013 05:06:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4228220186 for ; Wed, 7 Aug 2013 05:06:22 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3FB6220181 for ; Wed, 7 Aug 2013 05:06:21 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6vwx-0002CW-Fp; Wed, 07 Aug 2013 05:06:19 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6vwv-0003Xf-8Q; Wed, 07 Aug 2013 05:06:17 +0000 Received: from mail-pd0-f174.google.com ([209.85.192.174]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6vws-0003Wc-4k for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2013 05:06:14 +0000 Received: by mail-pd0-f174.google.com with SMTP id 10so990564pdc.5 for ; Tue, 06 Aug 2013 22:05:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iNjmASq8x6wJ/qDhiwToLwduetg8cfgzkg/SQ1uzfWA=; b=MBT6OJn2W7ca4L4Q9v8kNgjSyFvCRNC7TrWZ0k46IKyM3Vsw0zpmtExELxGetWx5Bk AUDhDvo5eulhQhTeH0MJ4o1YAPM0HWUmwNraUGyGuPacoq1Ybb2h6IH4JQSx8ZgOfDi6 K9SZ00GEUToFuQ8IKzeaeKeGOVs/pKSb7pIwUQKqfq9+WjBo2JYh4e+Vo6deyHkwerjt Hf8AldkhYnNSEzi9WS7GOyWyi15CmEcjX+7RXnShicP99Kzind0FVVMeLVO9fwAQvkZd GDRuIGbOO8VX6T8cz8C3NTBde5/tEg1fMTf1K+MhBcwSZwlvNfuSh+VPT1NzLcrJcQsA HaUg== X-Gm-Message-State: ALoCoQln0S7PziwxdedMeKj7Xeqj9o2tDpWz0CYcW9RLGrbAbL+wT6HyJOUkdJNWJe0ISXADk3/E X-Received: by 10.66.232.73 with SMTP id tm9mr2254398pac.159.1375851949756; Tue, 06 Aug 2013 22:05:49 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id bb1sm5773410pbc.10.2013.08.06.22.05.45 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 22:05:49 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] clk: exynos5250: Fix incorrect placement of __initdata Date: Wed, 7 Aug 2013 10:18:38 +0530 Message-Id: <1375850921-23122-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1375850921-23122-1-git-send-email-sachin.kamat@linaro.org> References: <1375850921-23122-1-git-send-email-sachin.kamat@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130807_010614_274870_B426DD29 X-CRM114-Status: GOOD ( 10.29 ) X-Spam-Score: -1.9 (-) Cc: sachin.kamat@linaro.org, linux@arm.linux.org.uk, kgene.kim@samsung.com, mturquette@linaro.org, patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP __initdata should be placed between the variable name and equal sign for the variable to be placed in the intended section. Signed-off-by: Sachin Kamat --- drivers/clk/samsung/clk-exynos5250.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exynos5250.c index 5865cef..a9916a4 100644 --- a/drivers/clk/samsung/clk-exynos5250.c +++ b/drivers/clk/samsung/clk-exynos5250.c @@ -132,7 +132,7 @@ enum exynos5250_clks { * list of controller registers to be saved and restored during a * suspend/resume cycle. */ -static __initdata unsigned long exynos5250_clk_regs[] = { +static unsigned long exynos5250_clk_regs[] __initdata = { SRC_CPU, DIV_CPU0, SRC_CORE1, @@ -494,7 +494,7 @@ static struct samsung_gate_clock exynos5250_gate_clks[] __initdata = { GATE(g2d, "g2d", "aclk200", GATE_IP_ACP, 3, 0, 0), }; -static __initdata struct samsung_pll_rate_table vpll_24mhz_tbl[] = { +static struct samsung_pll_rate_table vpll_24mhz_tbl[] __initdata = { /* sorted in descending order */ /* PLL_36XX_RATE(rate, m, p, s, k) */ PLL_36XX_RATE(266000000, 266, 3, 3, 0), @@ -503,7 +503,7 @@ static __initdata struct samsung_pll_rate_table vpll_24mhz_tbl[] = { { }, }; -static __initdata struct samsung_pll_rate_table epll_24mhz_tbl[] = { +static struct samsung_pll_rate_table epll_24mhz_tbl[] __initdata = { /* sorted in descending order */ /* PLL_36XX_RATE(rate, m, p, s, k) */ PLL_36XX_RATE(192000000, 64, 2, 2, 0), @@ -517,7 +517,7 @@ static __initdata struct samsung_pll_rate_table epll_24mhz_tbl[] = { { }, }; -static struct __initdata samsung_pll_clock exynos5250_plls[nr_plls] = { +static struct samsung_pll_clock exynos5250_plls[nr_plls] __initdata = { [apll] = PLL_A(pll_35xx, fout_apll, "fout_apll", "fin_pll", APLL_LOCK, APLL_CON0, "fout_apll", NULL), [mpll] = PLL_A(pll_35xx, fout_mpll, "fout_mpll", "fin_pll", MPLL_LOCK, @@ -534,7 +534,7 @@ static struct __initdata samsung_pll_clock exynos5250_plls[nr_plls] = { VPLL_LOCK, VPLL_CON0, NULL), }; -static __initdata struct of_device_id ext_clk_match[] = { +static struct of_device_id ext_clk_match[] __initdata = { { .compatible = "samsung,clock-xxti", .data = (void *)0, }, { }, };