diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-05-05 17:45:34 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-05-15 22:54:57 +0200 |
commit | 9bffcf42c6700114d4a602370a66816c1ebd2798 (patch) | |
tree | 497c0014f305d948f33fcf1b6a82ac9d063e2218 /arch/arm/kernel | |
parent | e5006671acc714d9dbfc6f8a618124c36f5cc6f8 (diff) | |
download | linux-stable-9bffcf42c6700114d4a602370a66816c1ebd2798.tar.gz linux-stable-9bffcf42c6700114d4a602370a66816c1ebd2798.tar.bz2 linux-stable-9bffcf42c6700114d4a602370a66816c1ebd2798.zip |
ARM/time: Replace <linux/clk-provider.h> by <linux/of_clk.h>
The ARM 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>.
Link: https://lore.kernel.org/r/20200505154536.4099-2-geert+renesas@glider.be
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index dddc7ebf4db4..09b149b09c43 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c @@ -8,7 +8,6 @@ * This file contains the ARM-specific time handling details: * reading the RTC at bootup, etc... */ -#include <linux/clk-provider.h> #include <linux/clockchips.h> #include <linux/clocksource.h> #include <linux/errno.h> @@ -17,6 +16,7 @@ #include <linux/interrupt.h> #include <linux/irq.h> #include <linux/kernel.h> +#include <linux/of_clk.h> #include <linux/profile.h> #include <linux/sched.h> #include <linux/sched_clock.h> |