diff options
-rw-r--r-- | drivers/of/dynamic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c index c875787fa394..b96d83100987 100644 --- a/drivers/of/dynamic.c +++ b/drivers/of/dynamic.c | |||
@@ -98,6 +98,7 @@ int of_property_notify(int action, struct device_node *np, | |||
98 | 98 | ||
99 | void __of_attach_node(struct device_node *np) | 99 | void __of_attach_node(struct device_node *np) |
100 | { | 100 | { |
101 | np->child = NULL; | ||
101 | np->sibling = np->parent->child; | 102 | np->sibling = np->parent->child; |
102 | np->allnext = np->parent->allnext; | 103 | np->allnext = np->parent->allnext; |
103 | np->parent->allnext = np; | 104 | np->parent->allnext = np; |