]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MIPS: ralink: Fix missing `plat_time_init` prototype
authorVincent Legoll <vincent.legoll@gmail.com>
Mon, 12 Aug 2024 13:17:42 +0000 (15:17 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 29 Aug 2024 08:29:08 +0000 (10:29 +0200)
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>
arch/mips/ralink/timer-gic.c

index dcf2a44ac51eede66bed91ab8a96daad544631c6..926082655a780379ae841c83947cdbeb9dda7f22 100644 (file)
@@ -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)