Skip to content
Permalink
Browse files
clk: Mark fwnodes when their clock provider is added
This is a follow-up for:
commit 3c9ea42 ("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 <tudor.ambarus@microchip.com>
  • Loading branch information
ambarus authored and intel-lab-lkp committed Feb 10, 2021
1 parent 4a323a5 commit 383fe519868d52331467f2a7f00c0cf258ea142d
Showing 1 changed file with 2 additions and 0 deletions.
@@ -4592,6 +4592,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);

0 comments on commit 383fe51

Please sign in to comment.