diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-25 09:58:58 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-03-06 11:41:27 +0100 |
commit | 3afab2a83ef55f37c85c8abf13722a1f0b4c82cf (patch) | |
tree | cf893e7ae89cf33902792fd16d992f13621f46e0 /include | |
parent | dbaf66d8f73c834ae6fca9fb1bf0a296c50d7cb9 (diff) | |
download | barebox-3afab2a83ef55f37c85c8abf13722a1f0b4c82cf.tar.gz barebox-3afab2a83ef55f37c85c8abf13722a1f0b4c82cf.tar.xz |
of: Add missing prototype for of_device_is_compatible
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 3305f03fe4..d780dcf07c 100644 --- a/include/of.h +++ b/include/of.h @@ -121,6 +121,9 @@ int of_get_named_gpio(struct device_node *np, struct device_node *of_find_node_by_phandle(phandle phandle); void of_print_property(const void *data, int len); +int of_device_is_compatible(const struct device_node *device, + const char *compat); + int of_machine_is_compatible(const char *compat); #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 |