aboutsummaryrefslogtreecommitdiff
path: root/lib/of_live.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/of_live.c')
-rw-r--r--lib/of_live.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/of_live.c b/lib/of_live.c
index 05588d5..25f7af6 100644
--- a/lib/of_live.c
+++ b/lib/of_live.c
@@ -330,3 +330,9 @@ int of_live_build(const void *fdt_blob, struct device_node **rootp)
return ret;
}
+
+void of_live_free(struct device_node *root)
+{
+ /* the tree is stored as a contiguous block of memory */
+ free(root);
+}