summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/self/of_manipulation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/self/of_manipulation.c b/test/self/of_manipulation.c
index f7f95fa269..64913ac1ea 100644
--- a/test/self/of_manipulation.c
+++ b/test/self/of_manipulation.c
@@ -63,7 +63,7 @@ static void test_of_basics(struct device_node *root)
of_property_write_u32(node2, "property2", 2);
of_property_write_u32(node1, "property3", 1);
- of_property_write_u32(node1, "property2", 2);
+ of_copy_property(node2, "property2", node1);
of_rename_property(node1, "property3", "property1");
assert_equal(node1, node2);