Commit 45195b8f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Stephen Boyd

clk: sirf: Constify parent names in clock init data

The array of parent names can be made as array of const pointers to
const strings.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent f3db6f16
...@@ -188,7 +188,7 @@ static struct clk_ops std_pll_ops = { ...@@ -188,7 +188,7 @@ static struct clk_ops std_pll_ops = {
.set_rate = pll_clk_set_rate, .set_rate = pll_clk_set_rate,
}; };
static const char *pll_clk_parents[] = { static const char * const pll_clk_parents[] = {
"osc", "osc",
}; };
...@@ -284,7 +284,7 @@ static struct clk_hw usb_pll_clk_hw = { ...@@ -284,7 +284,7 @@ static struct clk_hw usb_pll_clk_hw = {
* clock domains - cpu, mem, sys/io, dsp, gfx * clock domains - cpu, mem, sys/io, dsp, gfx
*/ */
static const char *dmn_clk_parents[] = { static const char * const dmn_clk_parents[] = {
"rtc", "rtc",
"osc", "osc",
"pll1", "pll1",
...@@ -673,7 +673,7 @@ static void std_clk_disable(struct clk_hw *hw) ...@@ -673,7 +673,7 @@ static void std_clk_disable(struct clk_hw *hw)
clkc_writel(val, reg); clkc_writel(val, reg);
} }
static const char *std_clk_io_parents[] = { static const char * const std_clk_io_parents[] = {
"io", "io",
}; };
...@@ -949,7 +949,7 @@ static struct clk_std clk_pulse = { ...@@ -949,7 +949,7 @@ static struct clk_std clk_pulse = {
}, },
}; };
static const char *std_clk_dsp_parents[] = { static const char * const std_clk_dsp_parents[] = {
"dsp", "dsp",
}; };
...@@ -981,7 +981,7 @@ static struct clk_std clk_mf = { ...@@ -981,7 +981,7 @@ static struct clk_std clk_mf = {
}, },
}; };
static const char *std_clk_sys_parents[] = { static const char * const std_clk_sys_parents[] = {
"sys", "sys",
}; };
...@@ -999,7 +999,7 @@ static struct clk_std clk_security = { ...@@ -999,7 +999,7 @@ static struct clk_std clk_security = {
}, },
}; };
static const char *std_clk_usb_parents[] = { static const char * const std_clk_usb_parents[] = {
"usb_pll", "usb_pll",
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment