summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-dm355evm.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-03-20 13:43:33 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-04 10:07:09 +0200
commit4bc85a3873c60f9617e9095c556d2823cbda2237 (patch)
tree8b5f7f57f96952ac67beebb5a4a5cbc8c0f50844 /drivers/rtc/rtc-dm355evm.c
parentrtc: dm355evm: convert to devm_rtc_allocate_device (diff)
downloadlinux-4bc85a3873c60f9617e9095c556d2823cbda2237.tar.xz
linux-4bc85a3873c60f9617e9095c556d2823cbda2237.zip
rtc: dm355evm: set range
The MSP430 has a 32bit second counter. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-dm355evm.c')
-rw-r--r--drivers/rtc/rtc-dm355evm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-dm355evm.c b/drivers/rtc/rtc-dm355evm.c
index d44bf3929898..cd80c89d9002 100644
--- a/drivers/rtc/rtc-dm355evm.c
+++ b/drivers/rtc/rtc-dm355evm.c
@@ -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);
}