From: Sylvain Chouleur Date: Mon, 8 Jun 2015 09:45:19 +0000 (+0200) Subject: rtc: cmos: century support X-Git-Tag: omap-for-v4.3/fixes-rc1~63^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c217e51d8a272b9301058fe845d6c69cc0651cb;p=pandora-kernel.git rtc: cmos: century support If century field is supported by the RTC CMOS device, then we should use it and then do not consider years greater that 169 as an error. For information, the year field of the rtc_time structure contains the value to add to 1970 to obtain the current year. This was a hack to be able to support years for 1970 to 2069. This patch remains compatible with this implementation. Signed-off-by: Sylvain Chouleur Signed-off-by: Alexandre Belloni --- Reading git-diff-tree failed