Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68knommu: move definition of mach_gettod to where it is used

The mach_gettod function pointer is only called from the time_no.c
code. So move its actual definition to there too. It is currently in
setup_no.c for no particularly good reason.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>

+3 -1
-1
arch/m68k/kernel/setup_no.c
··· 47 47 char __initdata command_line[COMMAND_LINE_SIZE]; 48 48 49 49 /* machine dependent timer functions */ 50 - void (*mach_gettod)(int*, int*, int*, int*, int*, int*); 51 50 int (*mach_set_clock_mmss)(unsigned long); 52 51 53 52 /* machine dependent reboot functions */
+3
arch/m68k/kernel/time_no.c
··· 26 26 27 27 #define TICK_SIZE (tick_nsec / 1000) 28 28 29 + /* machine dependent timer functions */ 30 + void (*mach_gettod)(int*, int*, int*, int*, int*, int*); 31 + 29 32 static inline int set_rtc_mmss(unsigned long nowtime) 30 33 { 31 34 if (mach_set_clock_mmss)