Merge tag 'microblaze-v5.1-rc1' of git://git.monstr.eu/linux-2.6-microblaze
[linux-2.6-microblaze.git] / drivers / rtc / rtc-mc146818-lib.c
index 2f1772a..18a6f15 100644 (file)
@@ -82,7 +82,7 @@ unsigned int mc146818_get_time(struct rtc_time *time)
        time->tm_year += real_year - 72;
 #endif
 
-       if (century)
+       if (century > 20)
                time->tm_year += (century - 19) * 100;
 
        /*