From patchwork Wed Aug 7 04:48:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 18821 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f198.google.com (mail-gh0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4265923A4E for ; Wed, 7 Aug 2013 05:05:55 +0000 (UTC) Received: by mail-gh0-f198.google.com with SMTP id r13sf1518698ghr.1 for ; Tue, 06 Aug 2013 22:05:55 -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=PD8EC5JANETWlgdC7qc6aJzX7mhHUR6DYBvrNTZcmd0=; b=nyh2xfdqvasXWEel6IIMg8VqbkfzDUqI3bvp5scRmLoGqA/rMLDgiMaCP5Qk44iSd0 tiuGdNEWrfF6cBG87RXDuZfHZgxg202lMmBuHlhxibeNMEwVb0KFDBrw9P+9utXswD4y 4bEgb/5gcO5FQUqxx3PSZ/op7/wJy3g9Zd2bNbxlFYwbAt+aaV6kcnPPbW5vSpE45KYp 6H3hzVzhpUXmz5z7fh+WzKndA7DQNCsK8jgRxXFDK3Y5320V+TezPVJPxVqKp5J7DeCe Ps4IXzA7v4Y46ahJ3bzSNQZfjAJOGRyWYIEiww5ICGrAS3dURbL6dha+aJN6NUFtfoPs r4cg== X-Received: by 10.236.51.225 with SMTP id b61mr763606yhc.4.1375851955049; Tue, 06 Aug 2013 22:05:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.86.71 with SMTP id n7ls517752qez.16.gmail; Tue, 06 Aug 2013 22:05:54 -0700 (PDT) X-Received: by 10.220.159.208 with SMTP id k16mr433468vcx.92.1375851954945; Tue, 06 Aug 2013 22:05:54 -0700 (PDT) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id o7si1163185vet.93.2013.08.06.22.05.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 22:05:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.169 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.169; Received: by mail-ve0-f169.google.com with SMTP id db10so1293817veb.14 for ; Tue, 06 Aug 2013 22:05:54 -0700 (PDT) X-Gm-Message-State: ALoCoQl1qK+60RShbN6ccqVAPeXEQpkFNl4QyZJVN4YkSHOkX0TOzW5rL4R/1B8iZg+8jW0BDij1 X-Received: by 10.52.180.229 with SMTP id dr5mr406134vdc.20.1375851954642; Tue, 06 Aug 2013 22:05:54 -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 pc8csp181370vcb; Tue, 6 Aug 2013 22:05:54 -0700 (PDT) X-Received: by 10.66.122.67 with SMTP id lq3mr2335852pab.147.1375851953516; Tue, 06 Aug 2013 22:05:53 -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 hb3si4630199pac.65.2013.08.06.22.05.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 22:05:53 -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 jt11so1399477pbb.38 for ; Tue, 06 Aug 2013 22:05:53 -0700 (PDT) X-Received: by 10.68.160.193 with SMTP id xm1mr1678550pbb.88.1375851953092; Tue, 06 Aug 2013 22:05:53 -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.50 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 22:05:52 -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 3/4] clk: exynos5420: Fix incorrect placement of __initdata Date: Wed, 7 Aug 2013 10:18:39 +0530 Message-Id: <1375850921-23122-3-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.169 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-exynos5420.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 872e13d..e035fd0 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -147,7 +147,7 @@ enum exynos5420_clks { * list of controller registers to be saved and restored during a * suspend/resume cycle. */ -static __initdata unsigned long exynos5420_clk_regs[] = { +static unsigned long exynos5420_clk_regs[] __initdata = { SRC_CPU, DIV_CPU0, DIV_CPU1, @@ -727,7 +727,7 @@ static struct samsung_gate_clock exynos5420_gate_clks[] __initdata = { GATE(smmu_mscl2, "smmu_mscl2", "aclk400_mscl", GATE_IP_MSCL, 10, 0, 0), }; -static struct __initdata samsung_pll_clock exynos5420_plls[nr_plls] = { +static struct samsung_pll_clock exynos5420_plls[nr_plls] __initdata = { [apll] = PLL(pll_2550, fout_apll, "fout_apll", "fin_pll", APLL_LOCK, APLL_CON0, NULL), [cpll] = PLL(pll_2550, fout_mpll, "fout_mpll", "fin_pll", MPLL_LOCK, @@ -752,7 +752,7 @@ static struct __initdata samsung_pll_clock exynos5420_plls[nr_plls] = { KPLL_CON0, NULL), }; -static __initdata struct of_device_id ext_clk_match[] = { +static struct of_device_id ext_clk_match[] __initdata = { { .compatible = "samsung,exynos5420-oscclk", .data = (void *)0, }, { }, };