Commit 3bf258e1 authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Jerome Brunet
Browse files

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: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
parent 096f0a2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}