Commit 2d4fc6df authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: ep93xx: set range

The ep93xx RTC is a 32-bit seconds counter.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 09cd030b
...@@ -143,6 +143,7 @@ static int ep93xx_rtc_probe(struct platform_device *pdev) ...@@ -143,6 +143,7 @@ static int ep93xx_rtc_probe(struct platform_device *pdev)
return PTR_ERR(ep93xx_rtc->rtc); return PTR_ERR(ep93xx_rtc->rtc);
ep93xx_rtc->rtc->ops = &ep93xx_rtc_ops; ep93xx_rtc->rtc->ops = &ep93xx_rtc_ops;
ep93xx_rtc->rtc->range_max = U32_MAX;
err = rtc_add_group(ep93xx_rtc->rtc, &ep93xx_rtc_sysfs_files); err = rtc_add_group(ep93xx_rtc->rtc, &ep93xx_rtc_sysfs_files);
if (err) 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