
Fix the following warning: CC arch/mips/ralink/timer-gic.o arch/mips/ralink/timer-gic.c:18:13: warning: no previous prototype for 'plat_time_init' [-Wmissing-prototypes] 18 | void __init plat_time_init(void) | ^~~~~~~~~~~~~~ Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
25 lines
410 B
C
25 lines
410 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
*
|
|
* Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
|
|
* Copyright (C) 2015 John Crispin <john@phrozen.org>
|
|
*/
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/of.h>
|
|
#include <linux/of_clk.h>
|
|
#include <linux/clocksource.h>
|
|
|
|
#include <asm/time.h>
|
|
|
|
#include "common.h"
|
|
|
|
void __init plat_time_init(void)
|
|
{
|
|
ralink_of_remap();
|
|
|
|
of_clk_init(NULL);
|
|
timer_probe();
|
|
}
|