diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-02-08 09:03:59 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-02-08 09:03:59 +0100 |
commit | 0fae783beefc4ea6f201d517bcfe9dd1bd02f38b (patch) | |
tree | e3154839464d550a4a2c03c49e8bd4bef8eb50a1 /include | |
parent | 490a3c496454cea131dbd5edadbe7d7cfce4cfa8 (diff) | |
parent | abd0cea544372324656bf35b30b4cc6cd3b80317 (diff) | |
download | barebox-0fae783beefc4ea6f201d517bcfe9dd1bd02f38b.tar.gz barebox-0fae783beefc4ea6f201d517bcfe9dd1bd02f38b.tar.xz |
Merge branch 'for-next/of'
Diffstat (limited to 'include')
-rw-r--r-- | include/of.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h index 4564f48514..fec51bb94f 100644 --- a/include/of.h +++ b/include/of.h @@ -20,6 +20,7 @@ struct property { char *name; int length; void *value; + const void *value_const; struct list_head list; }; @@ -100,6 +101,7 @@ void of_print_nodes(struct device_node *node, int indent); int of_probe(void); int of_parse_dtb(struct fdt_header *fdt); struct device_node *of_unflatten_dtb(const void *fdt); +struct device_node *of_unflatten_dtb_const(const void *infdt); struct cdev; @@ -117,6 +119,9 @@ extern int of_set_property(struct device_node *node, const char *p, const void *val, int len, int create); extern struct property *of_new_property(struct device_node *node, const char *name, const void *data, int len); +extern struct property *of_new_property_const(struct device_node *node, + const char *name, + const void *data, int len); extern void of_delete_property(struct property *pp); extern struct device_node *of_find_node_by_name(struct device_node *from, |