Skip to content

Commit 5a368e9

Browse files
committed
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 <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/630ee35241dc753a30b69adedc2ffa8fc6d551dd.1694613528.git.geert@linux-m68k.org
1 parent 18fe6bf commit 5a368e9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/m68k/hp300/time.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#include <asm/traps.h>
2121
#include <asm/blinken.h>
2222

23+
#include "time.h"
24+
2325
static u64 hp300_read_clk(struct clocksource *cs);
2426

2527
static struct clocksource hp300_clk = {

0 commit comments

Comments
 (0)