]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: ls1x: Fix duplicate const for parent names
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 28 Apr 2015 04:46:22 +0000 (13:46 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 6 May 2015 05:50:50 +0000 (22:50 -0700)
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>
drivers/clk/clk-ls1x.c

index ca80103ac1888f734fc25de4dd3ee6f3792ea1c9..d4c61985f4488ac1fac3ebc2f6061d98e922d2e3 100644 (file)
@@ -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)
 {