microblaze: Replace <linux/clk-provider.h> by <linux/of_clk.h>
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Nov 2020 15:48:51 +0000 (16:48 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 10 Nov 2020 17:07:09 +0000 (18:07 +0100)
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>
Link: https://lore.kernel.org/r/20201110154851.3285695-1-geert+renesas@glider.be
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/kernel/setup.c

index 333b096..7fcf527 100644 (file)
@@ -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>