]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/of.h
Merge tag 'mfd-3.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6
[karo-tx-linux.git] / include / linux / of.h
index 1b1163225f3b8ab1eafacbb21e83ab8f86d50d42..72843b72a2b2619a5343be071d1ad104a9cb75af 100644 (file)
@@ -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))
@@ -315,6 +317,12 @@ static inline const char* of_node_full_name(struct device_node *np)
        return "<no-node>";
 }
 
+static inline struct device_node *of_find_node_by_name(struct device_node *from,
+       const char *name)
+{
+       return NULL;
+}
+
 static inline bool of_have_populated_dt(void)
 {
        return false;