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: 18820 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AD1FD23A4E for ; Wed, 7 Aug 2013 05:05:51 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id 15sf1526332vea.9 for ; Tue, 06 Aug 2013 22:05:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=iNjmASq8x6wJ/qDhiwToLwduetg8cfgzkg/SQ1uzfWA=; b=QpKzkR3Ddzy1Y6yDx0gDLVdktD0a6iyvmGB0TUy706UKXgDkavcHvgzn6iujLFrRIm 9jNmZOCyImbrwQFoowtFeB/29d/npbtgThhfA4841YmNz2oKd/90kar7dyfEOv2LIPK2 p6wBHtxj6zJMIjZNMP7cBo9EBy6hx96j45w/p+d+IUD1NE41UyK6l1C1r8mlD94Qmyip e+xkRdpNL/JZfoF/sF6RNhtH0eU7IfPAYBugI9fq/w7cog8BDJxi4lN305wJFCL+B9rQ kAhqPOhjSaCLXHU8LWlfPSTmwhtne9LSYULaS7hlJMxaSICyiPna8MEOzQsE0RuEXV0X Kx1A== X-Received: by 10.236.153.202 with SMTP id f50mr684898yhk.48.1375851951306; Tue, 06 Aug 2013 22:05:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.101.44 with SMTP id fd12ls565601qeb.98.gmail; Tue, 06 Aug 2013 22:05:51 -0700 (PDT) X-Received: by 10.52.116.70 with SMTP id ju6mr357366vdb.112.1375851951196; Tue, 06 Aug 2013 22:05:51 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id ix2si1163002vdb.85.2013.08.06.22.05.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 22:05:51 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id pb11so1284480veb.25 for ; Tue, 06 Aug 2013 22:05:51 -0700 (PDT) X-Gm-Message-State: ALoCoQnGCV6mQpuiAZjrDvF9w24kaiEDUMFhKA/K4jVZG4bjS/nybqzXghj/4t6dGsXHCwWZKryq X-Received: by 10.52.164.16 with SMTP id ym16mr389064vdb.32.1375851951079; Tue, 06 Aug 2013 22:05:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp181368vcb; Tue, 6 Aug 2013 22:05:50 -0700 (PDT) X-Received: by 10.66.4.6 with SMTP id g6mr2340786pag.96.1375851950155; Tue, 06 Aug 2013 22:05:50 -0700 (PDT) Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) by mx.google.com with ESMTPS id zs4si3505901pbb.16.2013.08.06.22.05.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 22:05:50 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.51 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.51; Received: by mail-pb0-f51.google.com with SMTP id jt11so1418218pbb.10 for ; Tue, 06 Aug 2013 22:05:49 -0700 (PDT) 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 Cc: mturquette@linaro.org, kgene.kim@samsung.com, linux@arm.linux.org.uk, sachin.kamat@linaro.org, patches@linaro.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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , __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, }, { }, };