rtc: dm355evm: set range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 20 Mar 2019 12:43:33 +0000 (13:43 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 4 Apr 2019 08:07:09 +0000 (10:07 +0200)
The MSP430 has a 32bit second counter.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-dm355evm.c

index d44bf39..cd80c89 100644 (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);
 }