Commit 3a134269 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: lpc32xx: set range

The LPC32xx RTC is a 32bit second counter.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 6bbad585
......@@ -259,6 +259,7 @@ static int lpc32xx_rtc_probe(struct platform_device *pdev)
return PTR_ERR(rtc->rtc);
rtc->rtc->ops = &lpc32xx_rtc_ops;
rtc->rtc->range_max = U32_MAX;
err = rtc_register_device(rtc->rtc);
if (err)
......
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