diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-21 00:20:33 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-06 11:41:28 +0100 |
commit | cf95711e5201b04e32be8f9122200308638279e9 (patch) | |
tree | 18cc7db9551f3c699446512a164e6653863eea41 /include | |
parent | 1ad17a65c38987bfc3f75296f82fcb43d364c835 (diff) | |
download | barebox-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.h | 3 |
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); |