Commit 72dd89c0 authored by Alexandre Belloni's avatar Alexandre Belloni

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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 0b5e47bb
...@@ -52,6 +52,7 @@ static int __init ps3_rtc_probe(struct platform_device *dev) ...@@ -52,6 +52,7 @@ static int __init ps3_rtc_probe(struct platform_device *dev)
return PTR_ERR(rtc); return PTR_ERR(rtc);
rtc->ops = &ps3_rtc_ops; rtc->ops = &ps3_rtc_ops;
rtc->range_max = U64_MAX;
platform_set_drvdata(dev, rtc); platform_set_drvdata(dev, rtc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment