summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-02-21 00:21:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-06 11:41:29 +0100
commit9d8e08353cf8628d41335b9c5910bd352ef75f4d (patch)
tree75b534f7a701420c3ae112b22d7e58fe35d8c76d /include
parentcf95711e5201b04e32be8f9122200308638279e9 (diff)
downloadbarebox-9d8e08353cf8628d41335b9c5910bd352ef75f4d.tar.gz
barebox-9d8e08353cf8628d41335b9c5910bd352ef75f4d.tar.xz
of: fixup unflattened devicetree
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/of.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/of.h b/include/of.h
index 85adc80a97..ef6a4ce058 100644
--- a/include/of.h
+++ b/include/of.h
@@ -7,9 +7,6 @@
int fdt_print(struct fdt_header *working_fdt, const char *pathp);
-int of_fix_tree(struct fdt_header *fdt);
-int of_register_fixup(int (*fixup)(struct fdt_header *));
-
int fdt_find_and_setprop(struct fdt_header *fdt, const char *node, const char *prop,
const void *val, int len, int create);
void do_fixup_by_path(struct fdt_header *fdt, const char *path, const char *prop,
@@ -67,6 +64,9 @@ struct of_device_id {
struct driver_d;
+int of_fix_tree(struct device_node *);
+int of_register_fixup(int (*fixup)(struct device_node *));
+
int of_match(struct device_d *dev, struct driver_d *drv);
int of_add_initrd(struct device_node *root, resource_size_t start,