mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
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:
parent
c50fd69a4f
commit
4bc85a3873
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user