diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-11-10 16:51:17 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-12-07 23:01:02 +0100 |
commit | 047b04201f628c038cdf4879ed51513215dd8780 (patch) | |
tree | 403664dd90bf698ba09d60d520ff313e20f89c52 /arch/xtensa | |
parent | sh: boards: Replace <linux/clk-provider.h> by <linux/of_clk.h> (diff) | |
download | linux-047b04201f628c038cdf4879ed51513215dd8780.tar.xz linux-047b04201f628c038cdf4879ed51513215dd8780.zip |
xtensa: Replace <linux/clk-provider.h> by <linux/of_clk.h>
The Xtensa 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>.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Link: https://lore.kernel.org/r/20201110155117.3286247-1-geert+renesas@glider.be
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c index 77971fe4cc95..e8ceb1528608 100644 --- a/arch/xtensa/kernel/time.c +++ b/arch/xtensa/kernel/time.c @@ -13,7 +13,7 @@ */ #include <linux/clk.h> -#include <linux/clk-provider.h> +#include <linux/of_clk.h> #include <linux/errno.h> #include <linux/sched.h> #include <linux/time.h> |