diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c index c875787fa3948df67972310f81064fc53b0607e0..b96d831009875e379178b21ebb4ebbd4ddda4ccd 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, void __of_attach_node(struct device_node *np) { + np->child = NULL; np->sibling = np->parent->child; np->allnext = np->parent->allnext; np->parent->allnext = np;