History

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>.

Geert Uytterhoeven committed 6 years ago

Commit 99db5901 parent 0b9f3861 file · +1 −1Browse files

Unified · Split

arch/csky/kernel/time.c+1−1
@@ -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 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t