mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 13:44:15 +08:00
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>
This commit is contained in:
parent
45195b8f84
commit
2ad8b3fcf5
@ -80,9 +80,9 @@ static struct clk *__init clk_register_pll(struct device *dev,
|
|||||||
return clk;
|
return clk;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char const *cpu_parents[] = { "cpu_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 ahb_parents[] = { "ahb_clk_div", "osc_33m_clk", };
|
||||||
static const char const *dc_parents[] = { "dc_clk_div", "osc_33m_clk", };
|
static const char * const dc_parents[] = { "dc_clk_div", "osc_33m_clk", };
|
||||||
|
|
||||||
void __init ls1x_clk_init(void)
|
void __init ls1x_clk_init(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user