Skip to content

Commit

Permalink
MN10300: Fix RTC routines
Browse files Browse the repository at this point in the history
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: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
David Howells authored and Linus Torvalds committed Aug 12, 2010
1 parent d4a47ac commit 3557957
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/mn10300/kernel/rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
DEFINE_SPINLOCK(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 */
static unsigned long mn10300_rtc_update_period;

Expand Down Expand Up @@ -110,7 +107,7 @@ static int set_rtc_mmss(unsigned long nowtime)

int update_persistent_clock(struct timespec now)
{
return set_rtc_mms(now.tv_sec);
return set_rtc_mmss(now.tv_sec);
}

/*
Expand Down

0 comments on commit 3557957

Please sign in to comment.