[PATCH] clk: constify the of_phandle_args argument of of_clk_provider
Stephen Boyd
sboyd at kernel.org
Thu Feb 15 15:12:12 PST 2024
Quoting Krzysztof Kozlowski (2024-02-08 08:37:10)
> None of the implementations of the get() and get_hw() callbacks of
> "struct of_clk_provider" modify the contents of received of_phandle_args
> pointer. They treat it as read-only variable used to find the clock to
> return. Make obvious that implementations are not supposed to modify
> the of_phandle_args, by making it a pointer to const.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
This will almost certainly break the build once it is merged to
linux-next. What's your plan to merge this?
More information about the linux-amlogic
mailing list