Linux 6.9-rc1
[linux-2.6-microblaze.git] / drivers / rtc / rtc-ds1511.c
index 6869d28..8b087d9 100644 (file)
@@ -323,6 +323,7 @@ static int ds1511_rtc_probe(struct platform_device *pdev)
 
        ds1511->rtc->ops = &ds1511_rtc_ops;
        ds1511->rtc->range_max = RTC_TIMESTAMP_END_2099;
+       ds1511->rtc->alarm_offset_max = 28 * 24 * 60 * 60 - 1;
 
        /*
         * if the platform has an interrupt in mind for this device,