]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
h8300: Replace <linux/clk-provider.h> by <linux/of_clk.h>
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 19 Aug 2020 12:29:25 +0000 (14:29 +0200)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Mon, 24 Aug 2020 03:35:06 +0000 (12:35 +0900)
The H8/300 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>
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/h8300/kernel/setup.c

index 28ac88358a89a4f9578e21ee78e7b01f65c70486..0ecaac7dd7e93d9fdda4947f7e0fb8a3dcee4985 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/of.h>
 #include <linux/of_fdt.h>
 #include <linux/of_address.h>
-#include <linux/clk-provider.h>
+#include <linux/of_clk.h>
 #include <linux/memblock.h>
 #include <linux/screen_info.h>
 #include <linux/clocksource.h>