From: Krzysztof Kozlowski Date: Tue, 28 Apr 2015 04:46:22 +0000 (+0900) Subject: clk: ls1x: Fix duplicate const for parent names X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2ad8b3fcf5b43f269ab463ff27c41f4637a4967f;p=linux-beck.git 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 Signed-off-by: Stephen Boyd --- 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) {