Skip to content

Commit 2508b60

Browse files
Greg UngererGreg Ungerer
authored andcommitted
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 <gerg@linux-m68k.org>
1 parent 19f144f commit 2508b60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/m68k/68000/timers.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
#include <asm/machdep.h>
2626
#include <asm/MC68VZ328.h>
2727

28+
#include "m68328.h"
29+
2830
/***************************************************************************/
2931

3032
#if defined(CONFIG_DRAGEN2)

0 commit comments

Comments
 (0)