OF: parse OF clock providers after populate
This adds a call to of_clk_init right after platform devices have been populated. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
feb1e38b43
commit
a7d8384d12
|
@ -1734,6 +1734,7 @@ int of_probe(void)
|
||||||
of_add_memory(memory, false);
|
of_add_memory(memory, false);
|
||||||
|
|
||||||
of_platform_populate(root_node, of_default_bus_match_table, NULL);
|
of_platform_populate(root_node, of_default_bus_match_table, NULL);
|
||||||
|
of_clk_init(root_node, NULL);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue