aboutsummaryrefslogtreecommitdiff
path: root/device_tree.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-07-22 13:55:37 +0200
committerAlexander Graf <agraf@suse.de>2011-10-06 09:48:00 +0200
commit80ad781643b68c91316687051965e12021abeab6 (patch)
tree5ddf457807f58a26313b70d722f8ebb532500d15 /device_tree.h
parent10f25a46c5202329cc028bcd79a0ca5f277261a4 (diff)
device tree: add add_subnode command
We want to be able to create subnodes in our device tree, so export it through the qemu device tree abstraction framework. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'device_tree.h')
-rw-r--r--device_tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/device_tree.h b/device_tree.h
index 76fce5ffb2..4378685b7a 100644
--- a/device_tree.h
+++ b/device_tree.h
@@ -23,5 +23,6 @@ int qemu_devtree_setprop_cell(void *fdt, const char *node_path,
int qemu_devtree_setprop_string(void *fdt, const char *node_path,
const char *property, const char *string);
int qemu_devtree_nop_node(void *fdt, const char *node_path);
+int qemu_devtree_add_subnode(void *fdt, const char *name);
#endif /* __DEVICE_TREE_H__ */