aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-02-12 11:09:34 +0100
committerWill Deacon <will@kernel.org>2020-02-12 17:26:38 +0000
commitd91771848f0ae2eec250a9345926a1a3558fa943 (patch)
tree372ba44a4b8e0865d3bef3242bf7809cd68c5ca3
parentarm64: Fix CONFIG_ARCH_RANDOM=n build (diff)
downloadlinux-dev-d91771848f0ae2eec250a9345926a1a3558fa943.tar.xz
linux-dev-d91771848f0ae2eec250a9345926a1a3558fa943.zip
arm64: time: Replace <linux/clk-provider.h> by <linux/of_clk.h>
The arm64 time 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>. Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r--arch/arm64/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/time.c b/arch/arm64/kernel/time.c
index 73f06d4b3aae..eebbc8d7123e 100644
--- a/arch/arm64/kernel/time.c
+++ b/arch/arm64/kernel/time.c
@@ -23,7 +23,7 @@
#include <linux/irq.h>
#include <linux/delay.h>
#include <linux/clocksource.h>
-#include <linux/clk-provider.h>
+#include <linux/of_clk.h>
#include <linux/acpi.h>
#include <clocksource/arm_arch_timer.h>