mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
The Ralink 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]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Acked-by: John Crispin <[email protected]> Signed-off-by: Paul Burton <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Paul Cercueil <[email protected]> Cc: James Hartley <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]
23 lines
387 B
C
23 lines
387 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
*
|
|
* Copyright (C) 2015 Nikolay Martynov <[email protected]>
|
|
* Copyright (C) 2015 John Crispin <[email protected]>
|
|
*/
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/of.h>
|
|
#include <linux/of_clk.h>
|
|
#include <linux/clocksource.h>
|
|
|
|
#include "common.h"
|
|
|
|
void __init plat_time_init(void)
|
|
{
|
|
ralink_of_remap();
|
|
|
|
of_clk_init(NULL);
|
|
timer_probe();
|
|
}
|