summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-08-12 14:44:07 +0530
committerMike Turquette <mturquette@linaro.org>2013-08-27 18:36:20 -0700
commit5b0dde99e8a9971030b36096ee1dc85a1a12ff57 (patch)
treea69c1f1d72959b2828f0f83b76a0d959fafe0402 /drivers/clk
parent52be7cc862942ea0a53031b3b1ca84dc95422b5b (diff)
downloadop-kernel-dev-5b0dde99e8a9971030b36096ee1dc85a1a12ff57.zip
op-kernel-dev-5b0dde99e8a9971030b36096ee1dc85a1a12ff57.tar.gz
clk: s3c64xx: Fix incorrect placement of __initdata
__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> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/samsung/clk-s3c64xx.c4
1 files 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,
};
OpenPOWER on IntegriCloud