diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2014-12-03 15:34:00 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-12-04 08:24:05 +0100 |
commit | 48ba0a1afda33907fcc4ce4119a7762dda5d7404 (patch) | |
tree | 675dea627557a2216b8c824d6c686001c8193f8f /include | |
parent | 0d752cb78cbe0c324151267b3d9eb400d19b05a7 (diff) | |
download | barebox-48ba0a1afda33907fcc4ce4119a7762dda5d7404.tar.gz barebox-48ba0a1afda33907fcc4ce4119a7762dda5d7404.tar.xz |
fdt: of_unflatten_dtb can work on const data
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/of.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/of.h b/include/of.h index 7b93c58474..5273f87ebd 100644 --- a/include/of.h +++ b/include/of.h @@ -98,7 +98,7 @@ void of_print_cmdline(struct device_node *root); 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(void *fdt); +struct device_node *of_unflatten_dtb(const void *fdt); struct cdev; |