mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
rtc: ep93xx: set range
The ep93xx RTC is a 32-bit seconds counter. Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
1 parent
09cd030b54
commit
2d4fc6df77
1 file changed
+1
@@ -143,6 +143,7 @@ static int ep93xx_rtc_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(ep93xx_rtc->rtc);
|
||||
|
||||
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);
|
||||
if (err)
|
||||
|
||||
Reference in new issue
Block a user