Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: rockchip: Replace <linux/clk-provider.h> by <linux/of_clk.h>

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>

authored by

Geert Uytterhoeven and committed by
Heiko Stuebner
37aed36c 8f3d9f35

+1 -1
+1 -1
arch/arm/mach-rockchip/rockchip.c
··· 9 9 #include <linux/kernel.h> 10 10 #include <linux/init.h> 11 11 #include <linux/io.h> 12 + #include <linux/of_clk.h> 12 13 #include <linux/of_platform.h> 13 14 #include <linux/irqchip.h> 14 - #include <linux/clk-provider.h> 15 15 #include <linux/clocksource.h> 16 16 #include <linux/mfd/syscon.h> 17 17 #include <linux/regmap.h>