diff options
author | Greg Ungerer <gerg@kernel.org> | 2023-09-13 00:09:22 +1000 |
---|---|---|
committer | Greg Ungerer <gerg@linux-m68k.org> | 2023-10-23 08:22:22 +1000 |
commit | 2508b608f4028c6fe0d63698f64a9bfc3eb6b780 (patch) | |
tree | abb2c7eeb97466ed64f87d532484bfacf04e3352 /arch/m68k | |
parent | 19f144f43f4cf5d56409a8908125405e5cf6c3e0 (diff) |
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>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/68000/timers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/68000/timers.c b/arch/m68k/68000/timers.c index 0d0417cebc7f..00fb0dd12faa 100644 --- a/arch/m68k/68000/timers.c +++ b/arch/m68k/68000/timers.c @@ -25,6 +25,8 @@ #include <asm/machdep.h> #include <asm/MC68VZ328.h> +#include "m68328.h" + /***************************************************************************/ #if defined(CONFIG_DRAGEN2) |