From patchwork Wed Aug 7 04:48:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 18819 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 947ED23A4E for ; Wed, 7 Aug 2013 05:05:47 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id m1sf1525767ves.10 for ; Tue, 06 Aug 2013 22:05:47 -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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=D9FIjySv5jCo8KCqIWHI8SdTLd3pX+1Mane67viDtNY=; b=FjG4IIr2GTj5AqIbLFtP5UZ+8sjIvtw6XhsrH3grTYwYOs7jceWLupAWAgakaAl0l9 9x6BOeiOIhK8hJBD++6Ee1FAfJlHGDxrH8cN8ts8OQjkWEmf9SrWuo48rwW+SaUgLVth MW+55c8CyjZtNRI4zdA0S+GYiZIq2rvRQq2l0FL2nyQoV3B5XQGHCcF3X+RmHrUZl9XY 9e6QoeWvpnwuvaEfe0o89Id2xJGNbnT5RxK/I3SvndBG5X3/NV6icBJEEoZdMUTW1c2R ymsQtYW3SFPaZxRTF7MqSs4sDKIgCE3OttsGb2AUrDNub01qWiYgzwLXQDJKHhhX4Gbn c1ug== X-Received: by 10.236.32.229 with SMTP id o65mr755447yha.19.1375851947013; Tue, 06 Aug 2013 22:05:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.119.9 with SMTP id kq9ls546777qeb.48.gmail; Tue, 06 Aug 2013 22:05:46 -0700 (PDT) X-Received: by 10.58.217.167 with SMTP id oz7mr475506vec.15.1375851946916; Tue, 06 Aug 2013 22:05:46 -0700 (PDT) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id ts7si1161970vcb.123.2013.08.06.22.05.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 22:05:46 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.53; Received: by mail-vb0-f53.google.com with SMTP id i3so1382498vbh.12 for ; Tue, 06 Aug 2013 22:05:46 -0700 (PDT) X-Gm-Message-State: ALoCoQlFjZD3/XYjIzErqmcibxyI0MK/fxh/quen6K3/XkSHhaTUEMnUpMVDi+yQnNh6a++ZYmJk X-Received: by 10.221.43.70 with SMTP id ub6mr416976vcb.86.1375851946738; Tue, 06 Aug 2013 22:05:46 -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 pc8csp181364vcb; Tue, 6 Aug 2013 22:05:46 -0700 (PDT) X-Received: by 10.66.222.138 with SMTP id qm10mr2390007pac.101.1375851945817; Tue, 06 Aug 2013 22:05:45 -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 gg2si4580076pac.333.2013.08.06.22.05.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 22:05:45 -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 jt11so1412339pbb.24 for ; Tue, 06 Aug 2013 22:05:45 -0700 (PDT) X-Received: by 10.68.201.98 with SMTP id jz2mr1706637pbc.56.1375851945277; Tue, 06 Aug 2013 22:05:45 -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.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 22:05:44 -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 1/4] clk: exynos4: Fix incorrect placement of __initdata Date: Wed, 7 Aug 2013 10:18:37 +0530 Message-Id: <1375850921-23122-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 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.212.53 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-exynos4.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c index fec319d..742b4c5 100644 --- a/drivers/clk/samsung/clk-exynos4.c +++ b/drivers/clk/samsung/clk-exynos4.c @@ -194,7 +194,7 @@ enum exynos4_clks { * list of controller registers to be saved and restored during a * suspend/resume cycle. */ -static __initdata unsigned long exynos4210_clk_save[] = { +static unsigned long exynos4210_clk_save[] __initdata = { E4210_SRC_IMAGE, E4210_SRC_LCD1, E4210_SRC_MASK_LCD1, @@ -205,7 +205,7 @@ static __initdata unsigned long exynos4210_clk_save[] = { E4210_MPLL_CON0, }; -static __initdata unsigned long exynos4x12_clk_save[] = { +static unsigned long exynos4x12_clk_save[] __initdata = { E4X12_GATE_IP_IMAGE, E4X12_GATE_IP_PERIR, E4X12_SRC_CAM1, @@ -214,7 +214,7 @@ static __initdata unsigned long exynos4x12_clk_save[] = { E4X12_MPLL_CON0, }; -static __initdata unsigned long exynos4_clk_regs[] = { +static unsigned long exynos4_clk_regs[] __initdata = { SRC_LEFTBUS, DIV_LEFTBUS, GATE_IP_LEFTBUS, @@ -978,13 +978,13 @@ static void __init exynos4_clk_register_finpll(unsigned long xom) } -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, }, { .compatible = "samsung,clock-xusbxti", .data = (void *)1, }, {}, }; -static struct __initdata samsung_pll_clock exynos4_plls[nr_plls] = { +static struct samsung_pll_clock exynos4_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",