summaryrefslogtreecommitdiffstats
path: root/include/of.h
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2014-12-03 15:34:00 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-12-04 08:24:05 +0100
commit48ba0a1afda33907fcc4ce4119a7762dda5d7404 (patch)
tree675dea627557a2216b8c824d6c686001c8193f8f /include/of.h
parent0d752cb78cbe0c324151267b3d9eb400d19b05a7 (diff)
downloadbarebox-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/of.h')
-rw-r--r--include/of.h2
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;