[PATCH 4/5] OF: parse OF clock providers after populate

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Sat Nov 9 08:24:20 EST 2013


This adds a call to of_clk_init right after platform devices have been
populated.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
---
Cc: barebox at lists.infradead.org
---
 drivers/of/base.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index ba929bc..ea2d879 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1734,6 +1734,7 @@ int of_probe(void)
 		of_add_memory(memory, false);
 
 	of_platform_populate(root_node, of_default_bus_match_table, NULL);
+	of_clk_init(root_node, NULL);
 
 	return 0;
 }
-- 
1.8.4.rc3




More information about the barebox mailing list