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 @@
1// SPDX-License-Identifier: GPL-2.01// SPDX-License-Identifier: GPL-2.0
2// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.2// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
3 3
4#include <linux/clk-provider.h>
5#include <linux/clocksource.h>4#include <linux/clocksource.h>
5#include <linux/of_clk.h>
6 6
7void __init time_init(void)7void __init time_init(void)
8{8{

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