9
0
Fork 0

of: Add missing prototype for of_device_is_compatible

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2013-02-25 09:58:58 +01:00
parent dbaf66d8f7
commit 3afab2a83e
1 changed files with 3 additions and 0 deletions

View File

@ -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