* [PATCH resend v2] microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h>
@ 2020-11-10 15:48 Geert Uytterhoeven
2020-11-10 17:07 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2020-11-10 15:48 UTC (permalink / raw)
To: Michal Simek; +Cc: linux-kernel, linux-clk, Geert Uytterhoeven, Stephen Boyd
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@glider.be>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH resend v2] microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-11-10 15:48 [PATCH resend v2] microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
@ 2020-11-10 17:07 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2020-11-10 17:07 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-kernel, linux-clk, Stephen Boyd
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@glider.be>
> Reviewed-by: Stephen Boyd <sboyd@kernel.org>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-10 17:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 15:48 [PATCH resend v2] microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
2020-11-10 17:07 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®