diff options
author | Grant Likely <grant.likely@linaro.org> | 2013-10-11 22:05:10 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-05-16 16:19:12 +0800 |
commit | 92df232fa6f43a33058a99a9cf670f17d2d64d18 (patch) | |
tree | 04b029cd1107fd281456fcee808a0dd63f232976 /include | |
parent | c5754b7462e34a7ac8d990db57b5647fc8783140 (diff) |
ENGR00313685-5 of: Add helper for printing an of_phandle_args structure
commit 624cfca534f9b1ffb1326617b4e973a3d5ecff4a upstream.
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>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Conflicts:
drivers/of/base.c
Diffstat (limited to 'include')
-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 429e16801858..668e12322dd4 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -274,6 +274,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); |