summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-02-21 00:20:33 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-06 11:41:28 +0100
commitcf95711e5201b04e32be8f9122200308638279e9 (patch)
tree18cc7db9551f3c699446512a164e6653863eea41 /include
parent1ad17a65c38987bfc3f75296f82fcb43d364c835 (diff)
downloadbarebox-cf95711e5201b04e32be8f9122200308638279e9.tar.gz
barebox-cf95711e5201b04e32be8f9122200308638279e9.tar.xz
of: Add missing prototype for size/address counting functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/of.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h
index eeea01615f..85adc80a97 100644
--- a/include/of.h
+++ b/include/of.h
@@ -72,6 +72,9 @@ int of_match(struct device_d *dev, struct driver_d *drv);
int of_add_initrd(struct device_node *root, resource_size_t start,
resource_size_t end);
+int of_n_addr_cells(struct device_node *np);
+int of_n_size_cells(struct device_node *np);
+
struct property *of_find_property(const struct device_node *node, const char *name);
struct device_node *of_find_node_by_path(struct device_node *root, const char *path);