mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
e2f8b5c028
This patch adds support for timer. Signed-off-by: Vincent Chen <vincentc@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
12 lines
225 B
C
12 lines
225 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
// Copyright (C) 2005-2017 Andes Technology Corporation
|
|
|
|
#include <linux/clocksource.h>
|
|
#include <linux/clk-provider.h>
|
|
|
|
void __init time_init(void)
|
|
{
|
|
of_clk_init(NULL);
|
|
timer_probe();
|
|
}
|