diff options
author | Sylvain Chouleur <sylvain.chouleur@intel.com> | 2015-06-08 11:45:19 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 13:19:09 +0200 |
commit | 3c217e51d8a272b9301058fe845d6c69cc0651cb (patch) | |
tree | 19905089bba8bb8b295b1916b059b8c14b46cbba /block/t10-pi.c | |
parent | 11f67a8bbf65872c3e9edc70242420a8c314a860 (diff) |
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 <sylvain.chouleur@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions