From: Alexandre Belloni Date: Wed, 20 Mar 2019 12:44:28 +0000 (+0100) Subject: rtc: ps3: set range X-Git-Tag: v5.2-rc1~105^2~126 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72dd89c0bcd3d1def1eb6e8a8ecd8456d9bea288;p=thirdparty%2Fkernel%2Flinux.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 --- diff --git a/drivers/rtc/rtc-ps3.c b/drivers/rtc/rtc-ps3.c index 446f5e23301aa..f0336d691e6cf 100644 --- a/drivers/rtc/rtc-ps3.c +++ b/drivers/rtc/rtc-ps3.c @@ -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);