Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: ep93xx: set range

The ep93xx RTC is a 32-bit seconds counter.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

+1
+1
drivers/rtc/rtc-ep93xx.c
··· 143 143 return PTR_ERR(ep93xx_rtc->rtc); 144 144 145 145 ep93xx_rtc->rtc->ops = &ep93xx_rtc_ops; 146 + ep93xx_rtc->rtc->range_max = U32_MAX; 146 147 147 148 err = rtc_add_group(ep93xx_rtc->rtc, &ep93xx_rtc_sysfs_files); 148 149 if (err)