diff options
author | Grant Likely <grant.likely@linaro.org> | 2013-10-12 01:05:10 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2013-10-24 14:43:13 +0400 |
commit | 624cfca534f9b1ffb1326617b4e973a3d5ecff4a (patch) | |
tree | ff8d3861219a84bea05967bbf80ac726355445d4 /include/linux/of.h | |
parent | 2361613206e66ce59cc0e08efa8d98ec15b84ed1 (diff) | |
download | linux-624cfca534f9b1ffb1326617b4e973a3d5ecff4a.tar.xz |
of: Add helper for printing an of_phandle_args structure
It is sometimes useful for debug to get the contents of an
of_phandle_args structure out into the kernel log.
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index f95aee391e30..374e03536135 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -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); |