提交 d7cc16b4 编写于 作者: G Geert Uytterhoeven 提交者: Greentime Hu

nds32: Replace <linux/clk-provider.h> by <linux/of_clk.h>

The Andes 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: NGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: NGreentime Hu <green.hu@gmail.com>
Reviewed-by: NStephen Boyd <sboyd@kernel.org>
Signed-off-by: NGreentime Hu <green.hu@gmail.com>
上级 f40ddce8
......@@ -2,7 +2,7 @@
// Copyright (C) 2005-2017 Andes Technology Corporation
#include <linux/clocksource.h>
#include <linux/clk-provider.h>
#include <linux/of_clk.h>
void __init time_init(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册