All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: ingenic: Replace <linux/clk-provider.h> by <linux/of_clk.h>
@ 2020-05-06  9:04 Geert Uytterhoeven
  2020-05-06 10:39 ` Paul Cercueil
  2020-05-07  8:40 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2020-05-06  9:04 UTC (permalink / raw)
  To: Paul Cercueil, Thomas Bogendoerfer
  Cc: linux-mips, linux-clk, Geert Uytterhoeven

The JZ4740 setup 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>.

Fixes: f932449c11dabb4b ("MIPS: ingenic: Drop obsolete code, merge the rest in setup.c")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/mips/jz4740/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/jz4740/setup.c b/arch/mips/jz4740/setup.c
index 81428ddcaa9736f9..142cf127bf9e1c9f 100644
--- a/arch/mips/jz4740/setup.c
+++ b/arch/mips/jz4740/setup.c
@@ -5,13 +5,13 @@
  *  JZ4740 setup code
  */
 
-#include <linux/clk-provider.h>
 #include <linux/clocksource.h>
 #include <linux/init.h>
 #include <linux/io.h>
 #include <linux/irqchip.h>
 #include <linux/kernel.h>
 #include <linux/libfdt.h>
+#include <linux/of_clk.h>
 #include <linux/of_fdt.h>
 #include <linux/pm.h>
 #include <linux/suspend.h>
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-07 10:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-06  9:04 [PATCH] MIPS: ingenic: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
2020-05-06 10:39 ` Paul Cercueil
2020-05-07  8:40 ` Thomas Bogendoerfer
2020-05-07  9:11   ` Geert Uytterhoeven
2020-05-07 10:00     ` Thomas Bogendoerfer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.