Skip to content

Commit

Permalink
csky: Replace <linux/clk-provider.h> by <linux/of_clk.h>
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
  • Loading branch information
geertu authored and guoren83 committed Feb 23, 2020
1 parent 0b9f386 commit 99db590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/csky/kernel/time.c
Original file line number Diff line number Diff line change
@@ -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)
{
Expand Down

0 comments on commit 99db590

Please sign in to comment.