diff options
Diffstat (limited to 'arch/m68knommu/kernel/time.c')
-rw-r--r-- | arch/m68knommu/kernel/time.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/m68knommu/kernel/time.c b/arch/m68knommu/kernel/time.c index c2aa717de08a..a90acf5b0cde 100644 --- a/arch/m68knommu/kernel/time.c +++ b/arch/m68knommu/kernel/time.c | |||
@@ -72,9 +72,10 @@ static unsigned long read_rtc_mmss(void) | |||
72 | return mktime(year, mon, day, hour, min, sec); | 72 | return mktime(year, mon, day, hour, min, sec); |
73 | } | 73 | } |
74 | 74 | ||
75 | unsigned long read_persistent_clock(void) | 75 | void read_persistent_clock(struct timespec *ts) |
76 | { | 76 | { |
77 | return read_rtc_mmss(); | 77 | ts->tv_sec = read_rtc_mmss(); |
78 | ts->tv_nsec = 0; | ||
78 | } | 79 | } |
79 | 80 | ||
80 | int update_persistent_clock(struct timespec now) | 81 | int update_persistent_clock(struct timespec now) |