From: Greg Ungerer Date: Tue, 12 Sep 2023 14:09:22 +0000 (+1000) Subject: m68k: 68000: fix warning in timer code X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2508b608f4028c6fe0d63698f64a9bfc3eb6b780;p=linux.git m68k: 68000: fix warning in timer code When building with W=1: CC arch/m68k/68000/timers.o arch/m68k/68000/timers.c:120:5: warning: no previous prototype for ‘m68328_hwclk’ [-Wmissing-prototypes] int m68328_hwclk(int set, struct rtc_time *t) ^~~~~~~~~~~~ Include m68328.h to get prototype for m68328_hwclk(). Signed-off-by: Greg Ungerer --- diff --git a/arch/m68k/68000/timers.c b/arch/m68k/68000/timers.c index 0d0417cebc7fd..00fb0dd12faab 100644 --- a/arch/m68k/68000/timers.c +++ b/arch/m68k/68000/timers.c @@ -25,6 +25,8 @@ #include #include +#include "m68328.h" + /***************************************************************************/ #if defined(CONFIG_DRAGEN2)