]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/of.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
[linux-2.6-omap-h63xx.git] / include / linux / of.h
index 6981016dcc258fc89a0956ca6d9cb41ef3f771ba..e2488f5e7cb2bfc4ab275b1a2685bba103713205 100644 (file)
@@ -62,6 +62,7 @@ extern struct property *of_find_property(const struct device_node *np,
                                         int *lenp);
 extern int of_device_is_compatible(const struct device_node *device,
                                   const char *);
+extern int of_device_is_available(const struct device_node *device);
 extern const void *of_get_property(const struct device_node *node,
                                const char *name,
                                int *lenp);
@@ -69,5 +70,9 @@ extern int of_n_addr_cells(struct device_node *np);
 extern int of_n_size_cells(struct device_node *np);
 extern const struct of_device_id *of_match_node(
        const struct of_device_id *matches, const struct device_node *node);
+extern int of_modalias_node(struct device_node *node, char *modalias, int len);
+extern int of_parse_phandles_with_args(struct device_node *np,
+       const char *list_name, const char *cells_name, int index,
+       struct device_node **out_node, const void **out_args);
 
 #endif /* _LINUX_OF_H */