forked from Minki/linux
rtc: au1xxx: set range
The Alchemy counter0 is a 32bit seconds counter. Link: https://lore.kernel.org/r/20200306005958.39203-3-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
9cf71edb02
commit
b1b686e4b0
@ -100,6 +100,7 @@ static int au1xtoy_rtc_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(rtcdev);
|
||||
|
||||
rtcdev->ops = &au1xtoy_rtc_ops;
|
||||
rtcdev->range_max = U32_MAX;
|
||||
|
||||
platform_set_drvdata(pdev, rtcdev);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user