diff options
| author | Tom Rini <trini@konsulko.com> | 2020-09-22 16:59:48 -0400 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2020-09-22 16:59:48 -0400 |
| commit | 3c1e6a6c2300e0458a28bcfb1a5d3b52926bd33d (patch) | |
| tree | ea457a190f382e0a317c501fd0a360b5cdbbedc6 /drivers/core/of_access.c | |
| parent | 2512b3b88ba6b193c3cada7e29e386613e8f9a6b (diff) | |
| parent | e5b35f706d13c8c0fffcf7b2af9c6df4f4190c5d (diff) | |
Merge tag 'dm-pull-22sep20' of git://git.denx.de/u-boot-dm into next
binman enhancements for FIT
sunxi64 conversion to use binman
New 'no-map' property for reserved memory
Diffstat (limited to 'drivers/core/of_access.c')
| -rw-r--r-- | drivers/core/of_access.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/core/of_access.c b/drivers/core/of_access.c index 922e78f99b8..bcf1644d050 100644 --- a/drivers/core/of_access.c +++ b/drivers/core/of_access.c @@ -745,13 +745,14 @@ struct device_node *of_parse_phandle(const struct device_node *np, int of_parse_phandle_with_args(const struct device_node *np, const char *list_name, const char *cells_name, - int index, struct of_phandle_args *out_args) + int cell_count, int index, + struct of_phandle_args *out_args) { if (index < 0) return -EINVAL; - return __of_parse_phandle_with_args(np, list_name, cells_name, 0, - index, out_args); + return __of_parse_phandle_with_args(np, list_name, cells_name, + cell_count, index, out_args); } int of_count_phandle_with_args(const struct device_node *np, |
