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)
commitf00eaa38eb0c7185ffff51c5288d00af9032e354
treec5a97924a34163ad2db90799f4d3f210f8bcd763
parentcd7629b27bf9a32f2f4020f9028216ebbd88725e
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