git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MIPS] Switch from to_tm to rtc_time_to_tm
[pandora-kernel.git]
/
arch
/
mips
/
sibyte
/
swarm
/
rtc_m41t81.c
diff --git
a/arch/mips/sibyte/swarm/rtc_m41t81.c
b/arch/mips/sibyte/swarm/rtc_m41t81.c
index
c13914b
..
26fbff4
100644
(file)
--- a/
arch/mips/sibyte/swarm/rtc_m41t81.c
+++ b/
arch/mips/sibyte/swarm/rtc_m41t81.c
@@
-146,7
+146,8
@@
int m41t81_set_time(unsigned long t)
struct rtc_time tm;
unsigned long flags;
- to_tm(t, &tm);
+ /* Note we don't care about the century */
+ rtc_time_to_tm(t, &tm);
/*
* Note the write order matters as it ensures the correctness.