projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b9f386
)
csky: Replace <linux/clk-provider.h> by <linux/of_clk.h>
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Wed, 12 Feb 2020 10:10:58 +0000
(11:10 +0100)
committer
Guo Ren
<guoren@linux.alibaba.com>
Sun, 23 Feb 2020 04:48:55 +0000
(12:48 +0800)
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>
arch/csky/kernel/time.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/csky/kernel/time.c
b/arch/csky/kernel/time.c
index b5fc9447d93f2307f892ec0afa9fbda3e59a0294..52379d866fe45f2839afdcbca2216224fd455d33 100644
(file)
--- 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)
{