Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a6a0789 authored by kogiidena's avatar kogiidena Committed by Linus Torvalds
Browse files

rtc-rs5c313.c: rtc_time value are fixed



Correct an initial value of suruct rtc_ time.

Signed-off-by: default avatarkogiidena <kogiidena@eggplant.ddo.jp>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9a3f1d53
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -331,7 +331,8 @@ static void rs5c313_check_xstp_bit(void)

		memset(&tm, 0, sizeof(struct rtc_time));
		tm.tm_mday 	= 1;
		tm.tm_mon 	= 1;
		tm.tm_mon 	= 1 - 1;
		tm.tm_year 	= 2000 - 1900;

		rs5c313_rtc_set_time(NULL, &tm);
		printk(KERN_ERR "RICHO RS5C313: invalid value, resetting to "