Commit 4bc85a38 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: dm355evm: set range

The MSP430 has a 32bit second counter.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent c50fd69a
...@@ -134,6 +134,7 @@ static int dm355evm_rtc_probe(struct platform_device *pdev) ...@@ -134,6 +134,7 @@ static int dm355evm_rtc_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, rtc); platform_set_drvdata(pdev, rtc);
rtc->ops = &dm355evm_rtc_ops; rtc->ops = &dm355evm_rtc_ops;
rtc->range_max = U32_MAX;
return rtc_register_device(rtc); return rtc_register_device(rtc);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment