summaryrefslogtreecommitdiff
path: root/arch/m68k/hp300
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2023-09-13 16:08:18 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2023-10-06 10:03:03 +0200
commit5a368e9c0294a89ed803e9820a0b4bf9df915dc6 (patch)
treefd183e8873549954e90192d6a273152ea536bb69 /arch/m68k/hp300
parent18fe6bf505da8acf2e7b578bb23ea2d89fe9dbf2 (diff)
downloadlwn-5a368e9c0294a89ed803e9820a0b4bf9df915dc6.tar.gz
lwn-5a368e9c0294a89ed803e9820a0b4bf9df915dc6.zip
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
Diffstat (limited to 'arch/m68k/hp300')
-rw-r--r--arch/m68k/hp300/time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/hp300/time.c b/arch/m68k/hp300/time.c
index 1d1b7b3b5dd4..72621fb9f3e6 100644
--- a/arch/m68k/hp300/time.c
+++ b/arch/m68k/hp300/time.c
@@ -20,6 +20,8 @@
#include <asm/traps.h>
#include <asm/blinken.h>
+#include "time.h"
+
static u64 hp300_read_clk(struct clocksource *cs);
static struct clocksource hp300_clk = {