m68k: 68000: fix warning in timer code
authorGreg Ungerer <gerg@kernel.org>
Tue, 12 Sep 2023 14:09:22 +0000 (00:09 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Sun, 22 Oct 2023 22:22:22 +0000 (08:22 +1000)
commit2508b608f4028c6fe0d63698f64a9bfc3eb6b780
treeabb2c7eeb97466ed64f87d532484bfacf04e3352
parent19f144f43f4cf5d56409a8908125405e5cf6c3e0
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>
arch/m68k/68000/timers.c