diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-02-12 11:10:58 +0100 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-02-23 05:48:55 +0100 |
commit | 99db590b083fa2bc60adfcb5c839a62db4ef1d79 (patch) | |
tree | 809ad2261dddd6f5dd9f096afda83656945ee6a1 /arch/csky/kernel/time.c | |
parent | csky: Implement copy_thread_tls (diff) | |
download | linux-99db590b083fa2bc60adfcb5c839a62db4ef1d79.tar.xz linux-99db590b083fa2bc60adfcb5c839a62db4ef1d79.zip |
csky: Replace <linux/clk-provider.h> by <linux/of_clk.h>
The C-Sky 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>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to '')
-rw-r--r-- | arch/csky/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/kernel/time.c b/arch/csky/kernel/time.c index b5fc9447d93f..52379d866fe4 100644 --- a/arch/csky/kernel/time.c +++ b/arch/csky/kernel/time.c @@ -1,8 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. -#include <linux/clk-provider.h> #include <linux/clocksource.h> +#include <linux/of_clk.h> void __init time_init(void) { |