of: Add helper for printing an of_phandle_args structure
[linux-2.6-block.git] / include / linux / of.h
index f95aee391e30fcb98eeec0f6569c0b4bc9b8ba31..374e035361353cbda6a37c9a58218fd99cf8e044 100644 (file)
@@ -275,6 +275,7 @@ 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 void of_print_phandle_args(const char *msg, const struct of_phandle_args *args);
 extern struct device_node *of_parse_phandle(const struct device_node *np,
                                            const char *phandle_name,
                                            int index);