mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
0b5e47bbaa
commit
72dd89c0bc
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue