[PATCH] powerpc/time: Replace <linux/clk-provider.h> by <linux/of_clk.h>
Stephen Boyd
sboyd at kernel.org
Thu Feb 13 04:04:08 AEDT 2020
Quoting Geert Uytterhoeven (2020-02-12 02:17:36)
> The PowerPC time code is not a clock provider, and just needs to call
> of_clk_init().
>
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> ---
Reviewed-by: Stephen Boyd <sboyd at kernel.org>
This has an ifdef around the of_clk_init() call. Can you remove that too
given that we stub it out in the header?
More information about the Linuxppc-dev
mailing list