aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/m68k/kernel/setup_no.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2012-01-23 13:25:56 +1000
committerGreg Ungerer <gerg@uclinux.org>2012-03-05 09:43:03 +1000
commit9517746131f62294ddd922bcd288415be5104c23 (patch)
tree1ca5433e9d25c1c2f34197a52bfa15fdec163fac /arch/m68k/kernel/setup_no.c
parentm68knommu: remove reduntant definitions of _ramvec (diff)
downloadwireguard-linux-9517746131f62294ddd922bcd288415be5104c23.tar.xz
wireguard-linux-9517746131f62294ddd922bcd288415be5104c23.zip
m68knommu: make persistent clock code consistent with m68k
The read_persistent_clock() code is different on m68knommu, for really no reason. With a few changes to support function names and some code re-organization the code can be made the same. This will make it easier to merge the arch/m68k/kernel/time.c for m68k and m68knommu in a future patch. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/kernel/setup_no.c')
-rw-r--r--arch/m68k/kernel/setup_no.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/kernel/setup_no.c b/arch/m68k/kernel/setup_no.c
index ca3df0dc7e88..8394b56b2c72 100644
--- a/arch/m68k/kernel/setup_no.c
+++ b/arch/m68k/kernel/setup_no.c
@@ -31,6 +31,7 @@
#include <linux/init.h>
#include <linux/initrd.h>
#include <linux/root_dev.h>
+#include <linux/rtc.h>
#include <asm/setup.h>
#include <asm/irq.h>
@@ -48,6 +49,7 @@ char __initdata command_line[COMMAND_LINE_SIZE];
/* machine dependent timer functions */
int (*mach_set_clock_mmss)(unsigned long);
+int (*mach_hwclk) (int, struct rtc_time*);
/* machine dependent reboot functions */
void (*mach_reset)(void);