summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorSachin Kamat2013-08-12 11:14:07 +0200
committerMike Turquette2013-08-28 03:36:20 +0200
commit5b0dde99e8a9971030b36096ee1dc85a1a12ff57 (patch)
treea69c1f1d72959b2828f0f83b76a0d959fafe0402 /drivers/clk
parentclk: sunxi: Fix incorrect placement of __initconst (diff)
downloadkernel-qcow2-linux-5b0dde99e8a9971030b36096ee1dc85a1a12ff57.tar.gz
kernel-qcow2-linux-5b0dde99e8a9971030b36096ee1dc85a1a12ff57.tar.xz
kernel-qcow2-linux-5b0dde99e8a9971030b36096ee1dc85a1a12ff57.zip
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 eeda5675bd17..7d2c84265947 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,
};