]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: rockchip: Replace <linux/clk-provider.h> by <linux/of_clk.h>
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 12 Feb 2020 10:08:27 +0000 (11:08 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 13 Apr 2020 07:40:45 +0000 (09:40 +0200)
The Rockchip 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/20200212100830.446-5-geert+renesas@glider.be
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/mach-rockchip/rockchip.c

index f9797a2b5d0d55586535104c4bb87c32fe98fb6c..beea4564eed4037eac9d41003a9cd722c22fab53 100644 (file)
@@ -9,9 +9,9 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/io.h>
+#include <linux/of_clk.h>
 #include <linux/of_platform.h>
 #include <linux/irqchip.h>
-#include <linux/clk-provider.h>
 #include <linux/clocksource.h>
 #include <linux/mfd/syscon.h>
 #include <linux/regmap.h>