Commit 23ced271 authored by Stephen Boyd's avatar Stephen Boyd

clk: sirf: Remove CLK_IS_ROOT

This flag is a no-op now. Remove usage of the flag.

Cc: Guo Zeng <Guo.Zeng@csr.com>
Cc: Barry Song <Baohua.Song@csr.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 536630dd
...@@ -130,10 +130,9 @@ static void __init atlas6_clk_init(struct device_node *np) ...@@ -130,10 +130,9 @@ static void __init atlas6_clk_init(struct device_node *np)
panic("unable to map clkc registers\n"); panic("unable to map clkc registers\n");
/* These are always available (RTC and 26MHz OSC)*/ /* These are always available (RTC and 26MHz OSC)*/
atlas6_clks[rtc] = clk_register_fixed_rate(NULL, "rtc", NULL, atlas6_clks[rtc] = clk_register_fixed_rate(NULL, "rtc", NULL, 0, 32768);
CLK_IS_ROOT, 32768); atlas6_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL, 0,
atlas6_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL, 26000000);
CLK_IS_ROOT, 26000000);
for (i = pll1; i < maxclk; i++) { for (i = pll1; i < maxclk; i++) {
atlas6_clks[i] = clk_register(NULL, atlas6_clk_hw_array[i]); atlas6_clks[i] = clk_register(NULL, atlas6_clk_hw_array[i]);
......
...@@ -129,10 +129,9 @@ static void __init prima2_clk_init(struct device_node *np) ...@@ -129,10 +129,9 @@ static void __init prima2_clk_init(struct device_node *np)
panic("unable to map clkc registers\n"); panic("unable to map clkc registers\n");
/* These are always available (RTC and 26MHz OSC)*/ /* These are always available (RTC and 26MHz OSC)*/
prima2_clks[rtc] = clk_register_fixed_rate(NULL, "rtc", NULL, prima2_clks[rtc] = clk_register_fixed_rate(NULL, "rtc", NULL, 0, 32768);
CLK_IS_ROOT, 32768); prima2_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL, 0,
prima2_clks[osc] = clk_register_fixed_rate(NULL, "osc", NULL, 26000000);
CLK_IS_ROOT, 26000000);
for (i = pll1; i < maxclk; i++) { for (i = pll1; i < maxclk; i++) {
prima2_clks[i] = clk_register(NULL, prima2_clk_hw_array[i]); prima2_clks[i] = clk_register(NULL, prima2_clk_hw_array[i]);
......
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