diff options
author | Teresa Gámez <t.gamez@phytec.de> | 2014-09-30 13:15:29 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-10-01 08:13:02 +0200 |
commit | e5707ec702ffbcf9abf049ca2bb3ed3ceefd77e5 (patch) | |
tree | 3d99abe2a6c9a8ecd1fef8e2a70e7e5bcf737d1f /include/of.h | |
parent | d1d7876499405493688a7f79a49651dbbe099c52 (diff) | |
download | barebox-e5707ec702ffbcf9abf049ca2bb3ed3ceefd77e5.tar.gz barebox-e5707ec702ffbcf9abf049ca2bb3ed3ceefd77e5.tar.xz |
of: Added of_set_property_to_child_phandle
Set a property to a phandle of a child node. This may be used
for selections like display-timings.
Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/of.h')
-rw-r--r-- | include/of.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h index decf1517a7..29694a9020 100644 --- a/include/of.h +++ b/include/of.h @@ -714,6 +714,7 @@ int of_device_disable_path(const char *path); phandle of_get_tree_max_phandle(struct device_node *root); phandle of_node_create_phandle(struct device_node *node); +int of_set_property_to_child_phandle(struct device_node *node, char *prop_name); struct device_node *of_find_node_by_alias(struct device_node *root, const char *alias); struct device_node *of_find_node_by_path_or_alias(struct device_node *root, |