Pull cpuidle into release branch
[pandora-kernel.git] / arch / mips / sibyte / swarm / rtc_m41t81.c
index c13914b..26fbff4 100644 (file)
@@ -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.