[PATCH 1/4] of: Also print disabled nodes

Sascha Hauer s.hauer at pengutronix.de
Thu May 30 06:44:51 EDT 2013


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 at pengutronix.de>
---
 drivers/of/base.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index 8383549..9c04c78 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -663,9 +663,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");
 
-- 
1.8.2.rc2




More information about the barebox mailing list