diff options
Diffstat (limited to 'drivers/of/unittest.c')
-rw-r--r-- | drivers/of/unittest.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index 3249fe259d30..872956500c27 100644 --- a/drivers/of/unittest.c +++ b/drivers/of/unittest.c | |||
@@ -1127,7 +1127,11 @@ static void update_node_properties(struct device_node *np, | |||
1127 | 1127 | ||
1128 | /** | 1128 | /** |
1129 | * attach_node_and_children - attaches nodes | 1129 | * attach_node_and_children - attaches nodes |
1130 | * and its children to live tree | 1130 | * and its children to live tree. |
1131 | * CAUTION: misleading function name - if node @np already exists in | ||
1132 | * the live tree then children of @np are *not* attached to the live | ||
1133 | * tree. This works for the current test devicetree nodes because such | ||
1134 | * nodes do not have child nodes. | ||
1131 | * | 1135 | * |
1132 | * @np: Node to attach to live tree | 1136 | * @np: Node to attach to live tree |
1133 | */ | 1137 | */ |