]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: add a timestamp for year 0
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 7 Oct 2019 13:47:15 +0000 (15:47 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 7 Oct 2019 13:49:22 +0000 (15:49 +0200)
commit4c8b615a42c5337eecad197c9c927b91e289990e
treec5a97924a34163ad2db90799f4d3f210f8bcd763
parent9b1ac909d7a954034f73d6fe9fd8a85d92d30257
rtc: add a timestamp for year 0

A few RTCs handle dates from year 0 to year 9999. Add a timestamp even if
years before 1970 will probably never be used.

Link: https://lore.kernel.org/r/20191007134724.15505-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
include/linux/rtc.h