clk: Mark fwnodes when their clock provider is added

This is a follow-up for:
commit 3c9ea42802 ("clk: Mark fwnodes when their clock provider is added/removed")

The above commit updated the deprecated of_clk_add_provider(),
but missed to update the preferred of_clk_add_hw_provider().
Update it now.

Signed-off-by: Tudor Ambarus <[email protected]>
Acked-by: Stephen Boyd <[email protected]>
Reviewed-by: Saravana Kannan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Tudor Ambarus authored and Greg Kroah-Hartman committed 2021-03-23 15:02:26 +01:00
1 parent ea718c6990
commit 6579c8d97a
1 file changed
+2
+2
View File
@@ -4615,6 +4615,8 @@ int of_clk_add_hw_provider(struct device_node *np,
if (ret < 0)
of_clk_del_provider(np);
fwnode_dev_initialized(&np->fwnode, true);
return ret;
}
EXPORT_SYMBOL_GPL(of_clk_add_hw_provider);