summaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/68360
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/platform/68360
parentd3f033f894c433d3c9bf347a0a84f45dac0b14ac (diff)
downloadop-kernel-dev-9517746131f62294ddd922bcd288415be5104c23.zip
op-kernel-dev-9517746131f62294ddd922bcd288415be5104c23.tar.gz
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/platform/68360')
-rw-r--r--arch/m68k/platform/68360/config.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/m68k/platform/68360/config.c b/arch/m68k/platform/68360/config.c
index 9dd5bca..599a594 100644
--- a/arch/m68k/platform/68360/config.c
+++ b/arch/m68k/platform/68360/config.c
@@ -103,11 +103,6 @@ void hw_timer_init(void)
pquicc->timer_tgcr = tgcr_save;
}
-void BSP_gettod (int *yearp, int *monp, int *dayp,
- int *hourp, int *minp, int *secp)
-{
-}
-
int BSP_set_clock_mmss(unsigned long nowtime)
{
#if 0
@@ -181,6 +176,5 @@ void config_BSP(char *command, int len)
scc1_hwaddr = "\00\01\02\03\04\05";
#endif
- mach_gettod = BSP_gettod;
- mach_reset = BSP_reset;
+ mach_reset = BSP_reset;
}
OpenPOWER on IntegriCloud