Skip to content

Commit 4f3089a

Browse files
vinceletsbogend
authored andcommitted
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>
1 parent 5be63fc commit 4f3089a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/mips/ralink/timer-gic.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#include <linux/of_clk.h>
1212
#include <linux/clocksource.h>
1313

14+
#include <asm/time.h>
15+
1416
#include "common.h"
1517

1618
void __init plat_time_init(void)

0 commit comments

Comments
 (0)