]> 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)
commit72c7e09a70df6d628e5a61104322e4a7b329b293
treec5a97924a34163ad2db90799f4d3f210f8bcd763
parentbe1d4a2fc669ca486291634ed360a72e3f93e2c8
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