mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
rtc: puv3: set range
This RTC is a 32bit seconds counter. Link: https://lore.kernel.org/r/20200306010240.40056-1-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
a5965a3101
commit
a04b3b965f
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,7 @@ static int puv3_rtc_probe(struct platform_device *pdev)
|
|||
|
||||
/* register RTC and exit */
|
||||
rtc->ops = &puv3_rtcops;
|
||||
rtc->range_max = U32_MAX;
|
||||
ret = rtc_register_device(rtc);
|
||||
if (ret)
|
||||
goto err_nortc;
|
||||
|
|
Loading…
Reference in a new issue