From 2d4fc6df77d8effe07a66ec24c093b8c9f0fb998 Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Fri, 19 Apr 2019 10:00:01 +0200 Subject: rtc: ep93xx: set range The ep93xx RTC is a 32-bit seconds counter. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ep93xx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/rtc') 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) -- cgit v1.2.3