Commit 35579576 authored by David Howells's avatar David Howells Committed by Linus Torvalds

MN10300: Fix RTC routines

A change to the RTC routines in the MN10300 arch used set_rtc_mms() when it
meant set_rtc_mmss().  This results in an error due to a reference of an
undefined symbol.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d4a47ac1
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
DEFINE_SPINLOCK(rtc_lock); DEFINE_SPINLOCK(rtc_lock);
EXPORT_SYMBOL(rtc_lock); EXPORT_SYMBOL(rtc_lock);
/* last time the RTC got updated */
static long last_rtc_update;
/* time for RTC to update itself in ioclks */ /* time for RTC to update itself in ioclks */
static unsigned long mn10300_rtc_update_period; static unsigned long mn10300_rtc_update_period;
...@@ -110,7 +107,7 @@ static int set_rtc_mmss(unsigned long nowtime) ...@@ -110,7 +107,7 @@ static int set_rtc_mmss(unsigned long nowtime)
int update_persistent_clock(struct timespec now) int update_persistent_clock(struct timespec now)
{ {
return set_rtc_mms(now.tv_sec); return set_rtc_mmss(now.tv_sec);
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment