summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-ls1x.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-04-28 06:46:22 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-05-06 07:50:50 +0200
commit2ad8b3fcf5b43f269ab463ff27c41f4637a4967f (patch)
tree130f07a6d07c838d57dec82922698345b3260c7c /drivers/clk/clk-ls1x.c
parentclk: sirf: Constify parent names in clock init data (diff)
downloadlinux-2ad8b3fcf5b43f269ab463ff27c41f4637a4967f.tar.xz
linux-2ad8b3fcf5b43f269ab463ff27c41f4637a4967f.zip
clk: ls1x: Fix duplicate const for parent names
Replace duplicated const keyword with proper array of const pointers to const strings. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-ls1x.c')
-rw-r--r--drivers/clk/clk-ls1x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/clk-ls1x.c b/drivers/clk/clk-ls1x.c
index ca80103ac188..d4c61985f448 100644
--- a/drivers/clk/clk-ls1x.c
+++ b/drivers/clk/clk-ls1x.c
@@ -80,9 +80,9 @@ static struct clk *__init clk_register_pll(struct device *dev,
return clk;
}
-static const char const *cpu_parents[] = { "cpu_clk_div", "osc_33m_clk", };
-static const char const *ahb_parents[] = { "ahb_clk_div", "osc_33m_clk", };
-static const char const *dc_parents[] = { "dc_clk_div", "osc_33m_clk", };
+static const char * const cpu_parents[] = { "cpu_clk_div", "osc_33m_clk", };
+static const char * const ahb_parents[] = { "ahb_clk_div", "osc_33m_clk", };
+static const char * const dc_parents[] = { "dc_clk_div", "osc_33m_clk", };
void __init ls1x_clk_init(void)
{