Files
erofs-linux/arch/nds32/kernel/time.c
T
Geert Uytterhoeven d7cc16b4a3 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: Geert Uytterhoeven <[email protected]>
Acked-by: Greentime Hu <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Greentime Hu <[email protected]>
2021-02-25 14:31:48 +08:00

12 lines
219 B
C

// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2005-2017 Andes Technology Corporation
#include <linux/clocksource.h>
#include <linux/of_clk.h>
void __init time_init(void)
{
of_clk_init(NULL);
timer_probe();
}