forked from Minki/linux
clk: meson: meson8b: use of_clk_hw_register to register the clocks
Switch from clk_hw_register to of_clk_hw_register so we can use clk_parent_data.fw_name. This will be used to get the "xtal", "ddr_pll" and possibly others from the .dtb. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
This commit is contained in:
parent
096f0a2edf
commit
3bf258e159
@ -3701,7 +3701,7 @@ static void __init meson8b_clkc_init_common(struct device_node *np,
|
||||
if (!clk_hw_onecell_data->hws[i])
|
||||
continue;
|
||||
|
||||
ret = clk_hw_register(NULL, clk_hw_onecell_data->hws[i]);
|
||||
ret = of_clk_hw_register(np, clk_hw_onecell_data->hws[i]);
|
||||
if (ret)
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user