summaryrefslogtreecommitdiffstats
path: root/drivers/of/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/base.c')
-rw-r--r--drivers/of/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c
index edb0a8e71a..8759099d74 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1704,8 +1704,8 @@ void barebox_register_of(struct device_node *root)
if (root_node)
return;
- of_fix_tree(root);
of_set_root_node(root);
+ of_fix_tree(root);
if (IS_ENABLED(CONFIG_OFDEVICE))
of_probe();