X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Fof.h;h=f594c528842fece04fc6931d627f0b34bf6ca931;hb=a54dfb1a845c38a97686268d8c4086a63d9493aa;hp=1b1163225f3b8ab1eafacbb21e83ab8f86d50d42;hpb=ac48f6cb5f268daff06b636444819e5ffb462611;p=~andy%2Flinux diff --git a/include/linux/of.h b/include/linux/of.h index 1b1163225f3..f594c528842 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -193,6 +193,8 @@ extern struct device_node *of_get_next_child(const struct device_node *node, extern struct device_node *of_get_next_available_child( const struct device_node *node, struct device_node *prev); +extern struct device_node *of_get_child_by_name(const struct device_node *node, + const char *name); #define for_each_child_of_node(parent, child) \ for (child = of_get_next_child(parent, NULL); child != NULL; \ child = of_get_next_child(parent, child))