Skip to content

Commit f1edb49

Browse files
petegriffinbebarino
authored andcommitted
clk: hi6220: use CLK_OF_DECLARE_DRIVER
As now we also need to probe in the reset driver as well. Cc: Michael Turquette <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Allison Randal <[email protected]> Cc: Peter Griffin <[email protected]> Cc: [email protected] Signed-off-by: Peter Griffin <[email protected]> Signed-off-by: John Stultz <[email protected]> Link: https://lkml.kernel.org/r/[email protected] [[email protected]: Add comment about reset driver] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 54ecb8f commit f1edb49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/clk/hisilicon/clk-hi6220.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ static void __init hi6220_clk_ao_init(struct device_node *np)
8686
hisi_clk_register_gate_sep(hi6220_separated_gate_clks_ao,
8787
ARRAY_SIZE(hi6220_separated_gate_clks_ao), clk_data_ao);
8888
}
89-
CLK_OF_DECLARE(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init);
89+
/* Allow reset driver to probe as well */
90+
CLK_OF_DECLARE_DRIVER(hi6220_clk_ao, "hisilicon,hi6220-aoctrl", hi6220_clk_ao_init);
9091

9192

9293
/* clocks in sysctrl */

0 commit comments

Comments
 (0)