rtc: dm355evm: set range

The MSP430 has a 32bit second counter.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
Alexandre Belloni 2019-03-20 13:43:33 +01:00
parent c50fd69a4f
commit 4bc85a3873

View file

@ -134,6 +134,7 @@ static int dm355evm_rtc_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, rtc);
rtc->ops = &dm355evm_rtc_ops;
rtc->range_max = U32_MAX;
return rtc_register_device(rtc);
}