diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-19 10:00:01 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-19 22:37:16 +0200 |
commit | 2d4fc6df77d8effe07a66ec24c093b8c9f0fb998 (patch) | |
tree | b22e196f915d508ae82251e7d543b8fc972b0e3e /drivers | |
parent | 09cd030b54466bc7024977bdab9636a597f63c55 (diff) |
rtc: ep93xx: set range
The ep93xx RTC is a 32-bit seconds counter.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rtc/rtc-ep93xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-ep93xx.c b/drivers/rtc/rtc-ep93xx.c index 27417b4a8095..32d7b3ec816d 100644 --- a/drivers/rtc/rtc-ep93xx.c +++ b/drivers/rtc/rtc-ep93xx.c @@ -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) |