mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
rtc: starfire: switch to rtc_time64_to_tm
Call the 64bit version of rtc_tm time conversion. Link: https://lore.kernel.org/r/20200306005910.38939-2-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
166b13325c
commit
326bce078a
@ -27,7 +27,7 @@ static u32 starfire_get_time(void)
|
||||
|
||||
static int starfire_read_time(struct device *dev, struct rtc_time *tm)
|
||||
{
|
||||
rtc_time_to_tm(starfire_get_time(), tm);
|
||||
rtc_time64_to_tm(starfire_get_time(), tm);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user