From: Geert Uytterhoeven Date: Wed, 13 Sep 2023 14:08:18 +0000 (+0200) Subject: m68k: hp300: Include "time.h" for hp300_sched_init() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5a368e9c0294a89ed803e9820a0b4bf9df915dc6;p=linux.git m68k: hp300: Include "time.h" for hp300_sched_init() When building with W=1: arch/m68k/hp300/time.c:101:13: warning: no previous prototype for ‘hp300_sched_init’ [-Wmissing-prototypes] 101 | void __init hp300_sched_init(void) | ^~~~~~~~~~~~~~~~ Fix this by including "time.h". Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann Link: https://lore.kernel.org/r/630ee35241dc753a30b69adedc2ffa8fc6d551dd.1694613528.git.geert@linux-m68k.org --- diff --git a/arch/m68k/hp300/time.c b/arch/m68k/hp300/time.c index 1d1b7b3b5dd41..72621fb9f3e66 100644 --- a/arch/m68k/hp300/time.c +++ b/arch/m68k/hp300/time.c @@ -20,6 +20,8 @@ #include #include +#include "time.h" + static u64 hp300_read_clk(struct clocksource *cs); static struct clocksource hp300_clk = {