1 From a065d5615fc83908ef21ed8159ffb63d816ff5de Mon Sep 17 00:00:00 2001
2 From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
3 Date: Wed, 28 Jul 2021 16:42:27 +0200
4 Subject: [PATCH] of: unify of_count_phandle_with_args() arguments with
7 Unify the declaration of of_count_phandle_with_args() between enabled
8 and disabled OF by making constifying pointed device_node.
10 Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
11 Reviewed-by: Rob Herring <robh@kernel.org>
12 Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
14 include/linux/of.h | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 --- a/include/linux/of.h
18 +++ b/include/linux/of.h
19 @@ -889,7 +889,7 @@ static inline int of_parse_phandle_with_
23 -static inline int of_count_phandle_with_args(struct device_node *np,
24 +static inline int of_count_phandle_with_args(const struct device_node *np,
25 const char *list_name,
26 const char *cells_name)