summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorPatrick Delaunay <[email protected]>2019-07-22 14:50:21 +0200
committerPatrice Chotard <[email protected]>2019-08-27 09:36:56 +0200
commitfed51572c81192a9135380e88cfa445361dade5d (patch)
tree3d5304d28553fd0385240b84d3ab7eb7775e5173 /include/linux/string.h
parent0203050e57f5e0ad6c696cb64cfbc01fd08b67c5 (diff)
rtc: stm32: manage 2 digit limitation on year
STM32 RTC manages only 2 digits for YEAR (Year tens and units in BCD format in RTC_DR register). With this patch, RTC driver assumes that tm->tm_years is between 2000 and 2099; tm->tm_year - 2000 have only 2 digit (0 > and <= 99). Signed-off-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions