Re: [PATCH resend v2] microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h>
From: Michal Simek
Date: Tue Nov 10 2020 - 12:07:57 EST
On 10. 11. 20 16:48, Geert Uytterhoeven wrote:
> The MicroBlaze platform 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@xxxxxxxxx>
> Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>
> ---
> v2:
> - Add Reviewed-by.
> ---
> arch/microblaze/kernel/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c
> index 333b09658ca89105..7fcf5279ad15f61f 100644
> --- a/arch/microblaze/kernel/setup.c
> +++ b/arch/microblaze/kernel/setup.c
> @@ -9,7 +9,7 @@
> */
>
> #include <linux/init.h>
> -#include <linux/clk-provider.h>
> +#include <linux/of_clk.h>
> #include <linux/clocksource.h>
> #include <linux/string.h>
> #include <linux/seq_file.h>
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs