2020-11-10 15:50:42

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH resend v2] microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h>

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 <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
---
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>
--
2.25.1


2020-11-10 17:13:03

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH resend v2] microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h>



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 <[email protected]>
> Reviewed-by: Stephen Boyd <[email protected]>
> ---
> 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: http://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