Skip to content

Commit 99db590

Browse files
geertuguoren83
authored andcommitted
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>
1 parent 0b9f386 commit 99db590

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/csky/kernel/time.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// SPDX-License-Identifier: GPL-2.0
22
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
33

4-
#include <linux/clk-provider.h>
54
#include <linux/clocksource.h>
5+
#include <linux/of_clk.h>
66

77
void __init time_init(void)
88
{

0 commit comments

Comments
 (0)