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: 2839873 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 73B84BF535 for ; Wed, 7 Aug 2013 05:06:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9395120189 for ; Wed, 7 Aug 2013 05:06:41 +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 947C920186 for ; Wed, 7 Aug 2013 05:06:40 +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 1V6vx7-0002I0-DN; Wed, 07 Aug 2013 05:06:29 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6vx3-0003YK-Sz; Wed, 07 Aug 2013 05:06:25 +0000 Received: from mail-pd0-f178.google.com ([209.85.192.178]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V6vws-0003Wd-F4 for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2013 05:06:15 +0000 Received: by mail-pd0-f178.google.com with SMTP id w10so1000010pde.9 for ; Tue, 06 Aug 2013 22:05:53 -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=PD8EC5JANETWlgdC7qc6aJzX7mhHUR6DYBvrNTZcmd0=; b=IBDCvLb0QprtA+B5si0xMWrN2jsyyFa2GC0hor11lxw66wOIkxhSzA3/q675Tr/tZ0 +9OSGP+yEZJGCOM3tuasOvrU7vC3ATF9U5LHNj8li57JOQMrGGE/3rbXyyf+ZL1baNbr kwiud5C+Mh1jo6Q48ovxNIVcrw6Uv8vwkRE0iKAC5nKmy1ysFF3d9HAbhFXK6jUvM4IM 6a+mGwnHg6tFsRAlPlOnkK/m03SDdQqKETZF7y9IEn7r8qZajJMb+BF2dp663dBCulgZ Rfyrh4AnvpYYgSZerAUA7cVhK7ZJNnUXoZRWuhuSrJLeZl0uBLPe/wLILeH2FcYESK+W JRQg== X-Gm-Message-State: ALoCoQkzLAYJWLXltWc64g4vpnVZehD8diklwRqqaGoCpyjH6DlOp+Fmaq6onWmoNKLPFfTKieyO 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130807_010614_595302_230DF7C0 X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. 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-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, }, { }, };