summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-02-17 13:36:41 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-06 11:41:28 +0100
commit1d9859d5e70fe5c5269ecf0d22ede270da57ac4f (patch)
treed586d3419c50f57a1f2a949f7c206881f919ff12 /include
parent3b181a81091d51684f487470da27c56c87e5ecce (diff)
downloadbarebox-1d9859d5e70fe5c5269ecf0d22ede270da57ac4f.tar.gz
barebox-1d9859d5e70fe5c5269ecf0d22ede270da57ac4f.tar.xz
of: make unflatten independent of libfdt
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/of.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/of.h b/include/of.h
index 1562f4e2f6..4622b80280 100644
--- a/include/of.h
+++ b/include/of.h
@@ -147,7 +147,7 @@ void of_print_nodes(struct device_node *node, int indent);
int of_probe(void);
int of_parse_dtb(struct fdt_header *fdt);
void of_free(struct device_node *node);
-struct device_node *of_unflatten_dtb(struct device_node *root, struct fdt_header *fdt);
+struct device_node *of_unflatten_dtb(struct device_node *root, void *fdt);
struct device_node *of_new_node(struct device_node *parent, const char *name);
struct property *of_new_property(struct device_node *node, const char *name,
const void *data, int len);