All of lore.kernel.org
 help / color / mirror / Atom feed
From: sachin.kamat@linaro.org (Sachin Kamat)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 9/9] clk: s3c64xx: Fix incorrect placement of __initdata
Date: Mon, 12 Aug 2013 14:44:07 +0530	[thread overview]
Message-ID: <1376298847-21828-9-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1376298847-21828-1-git-send-email-sachin.kamat@linaro.org>

__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 <sachin.kamat@linaro.org>
---
 drivers/clk/samsung/clk-s3c64xx.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/samsung/clk-s3c64xx.c b/drivers/clk/samsung/clk-s3c64xx.c
index eeda567..7d2c842 100644
--- a/drivers/clk/samsung/clk-s3c64xx.c
+++ b/drivers/clk/samsung/clk-s3c64xx.c
@@ -65,7 +65,7 @@ enum s3c64xx_plls {
  * List of controller registers to be saved and restored during
  * a suspend/resume cycle.
  */
-static __initdata unsigned long s3c64xx_clk_regs[] = {
+static unsigned long s3c64xx_clk_regs[] __initdata = {
 	APLL_LOCK,
 	MPLL_LOCK,
 	EPLL_LOCK,
@@ -82,7 +82,7 @@ static __initdata unsigned long s3c64xx_clk_regs[] = {
 	SCLK_GATE,
 };
 
-static __initdata unsigned long s3c6410_clk_regs[] = {
+static unsigned long s3c6410_clk_regs[] __initdata = {
 	CLK_SRC2,
 	MEM0_GATE,
 };
-- 
1.7.9.5

  parent reply	other threads:[~2013-08-12  9:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12  9:13 [PATCH 1/9] clk: bcm2835: Fix incorrect placement of __initconst Sachin Kamat
2013-08-12  9:14 ` [PATCH 2/9] clk: nomadik: " Sachin Kamat
2013-08-13  6:14   ` Linus Walleij
2013-08-12  9:14 ` [PATCH 3/9] clk: u300: " Sachin Kamat
2013-08-16 15:10   ` Linus Walleij
2013-08-12  9:14 ` [PATCH 4/9] clk: armada-370: " Sachin Kamat
2013-08-12 10:30   ` Gregory CLEMENT
2013-08-12  9:14 ` [PATCH 5/9] clk: armada-xp: " Sachin Kamat
2013-08-12 10:31   ` Gregory CLEMENT
2013-08-12  9:14 ` [PATCH 6/9] clk: dove: " Sachin Kamat
2013-08-12 10:31   ` Gregory CLEMENT
2013-08-12  9:14 ` [PATCH 7/9] clk: kirkwood: " Sachin Kamat
2013-08-12 10:32   ` Gregory CLEMENT
2013-08-12  9:14 ` [PATCH 8/9] clk: sunxi: " Sachin Kamat
2013-08-28  1:44   ` Mike Turquette
2013-08-12  9:14 ` Sachin Kamat [this message]
2013-08-12 15:48 ` [PATCH 1/9] clk: bcm2835: " Stephen Warren
2013-08-19  3:38   ` Sachin Kamat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1376298847-21828-9-git-send-email-sachin.kamat@linaro.org \
    --to=sachin.kamat@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.