Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: ralink: Fix missing `plat_time_init` prototype

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>

authored by

Vincent Legoll and committed by
Thomas Bogendoerfer
4f3089ad 5be63fc1

+2
+2
arch/mips/ralink/timer-gic.c
··· 11 11 #include <linux/of_clk.h> 12 12 #include <linux/clocksource.h> 13 13 14 + #include <asm/time.h> 15 + 14 16 #include "common.h" 15 17 16 18 void __init plat_time_init(void)