diff options
author | Vincent Legoll <vincent.legoll@gmail.com> | 2024-08-12 15:17:42 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2024-08-29 10:29:08 +0200 |
commit | 4f3089ad555601b494c91aa9dfbf9c3060cc3e73 (patch) | |
tree | d34a872a35fbca234f35d1bb274b0be31d793f6c /arch/mips/ralink | |
parent | 5be63fc19fcaa4c236b307420483578a56986a37 (diff) |
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>
Diffstat (limited to 'arch/mips/ralink')
-rw-r--r-- | arch/mips/ralink/timer-gic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/ralink/timer-gic.c b/arch/mips/ralink/timer-gic.c index dcf2a44ac51e..926082655a78 100644 --- a/arch/mips/ralink/timer-gic.c +++ b/arch/mips/ralink/timer-gic.c @@ -11,6 +11,8 @@ #include <linux/of_clk.h> #include <linux/clocksource.h> +#include <asm/time.h> + #include "common.h" void __init plat_time_init(void) |