forked from luck/tmp_suning_uos_patched
clk: nspire: Remove CLK_IS_ROOT
This flag is a no-op now. Remove usage of the flag. Cc: Daniel Tang <dt.tangr@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
3be32b79a1
commit
1efee90d27
|
@ -125,8 +125,7 @@ static void __init nspire_clk_setup(struct device_node *node,
|
||||||
|
|
||||||
of_property_read_string(node, "clock-output-names", &clk_name);
|
of_property_read_string(node, "clock-output-names", &clk_name);
|
||||||
|
|
||||||
clk = clk_register_fixed_rate(NULL, clk_name, NULL, CLK_IS_ROOT,
|
clk = clk_register_fixed_rate(NULL, clk_name, NULL, 0, info.base_clock);
|
||||||
info.base_clock);
|
|
||||||
if (!IS_ERR(clk))
|
if (!IS_ERR(clk))
|
||||||
of_clk_add_provider(node, of_clk_src_simple_get, clk);
|
of_clk_add_provider(node, of_clk_src_simple_get, clk);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user