Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);