1
0
Fork 0

rtc: ps3: set range

The PS3 has a 64bit second counter from 2000. While this exceeds the 64bit
UNIX timestamp, there is not doubt that non of them will still be working
by then.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
hifive-unleashed-5.2
Alexandre Belloni 2019-03-20 13:44:28 +01:00
parent 0b5e47bbaa
commit 72dd89c0bc
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ static int __init ps3_rtc_probe(struct platform_device *dev)
return PTR_ERR(rtc);
rtc->ops = &ps3_rtc_ops;
rtc->range_max = U64_MAX;
platform_set_drvdata(dev, rtc);