ARM: zynq: Replace <linux/clk-provider.h> by <linux/of_clk.h>
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 12 Feb 2020 10:08:30 +0000 (11:08 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 13 Feb 2020 06:26:36 +0000 (07:26 +0100)
The Zynq 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: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/common.c

index 3a4248fd796281c367aa39fd30efcc2f252f1cf2..a9dd2f71cd19d2a926944a2e9e42010cebbbc2ae 100644 (file)
 #include <linux/cpumask.h>
 #include <linux/platform_device.h>
 #include <linux/clk.h>
-#include <linux/clk-provider.h>
 #include <linux/clk/zynq.h>
 #include <linux/clocksource.h>
 #include <linux/of_address.h>
+#include <linux/of_clk.h>
 #include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <linux/of.h>