summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-ls1x.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-04-28 13:46:22 +0900
committerStephen Boyd <sboyd@codeaurora.org>2015-05-05 22:50:50 -0700
commit2ad8b3fcf5b43f269ab463ff27c41f4637a4967f (patch)
tree130f07a6d07c838d57dec82922698345b3260c7c /drivers/clk/clk-ls1x.c
parent45195b8f8402bcb8e519b2b2c8521d47c6c5d96c (diff)
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)
{