of: Also print disabled nodes
It's confusing to set the status of a node to disabled and afterwards it's invisible. Similarly it's confusing to be able to enable invisible nodes. Also print disabled nodes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
afe3065206
commit
08d78d50ae
|
@ -681,9 +681,6 @@ void of_print_nodes(struct device_node *node, int indent)
|
|||
if (!node)
|
||||
return;
|
||||
|
||||
if (of_node_disabled(node))
|
||||
return;
|
||||
|
||||
for (i = 0; i < indent; i++)
|
||||
printf("\t");
|
||||
|
||||
|
|
Loading…
Reference in New Issue