diff options
Diffstat (limited to 'drivers/rtc/rtc-ds1511.c')
-rw-r--r-- | drivers/rtc/rtc-ds1511.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c index 761f36bc83a9..1f675f5294f5 100644 --- a/drivers/rtc/rtc-ds1511.c +++ b/drivers/rtc/rtc-ds1511.c | |||
@@ -532,7 +532,7 @@ ds1511_rtc_probe(struct platform_device *pdev) | |||
532 | if (pdata->irq > 0) { | 532 | if (pdata->irq > 0) { |
533 | rtc_read(RTC_CMD1); | 533 | rtc_read(RTC_CMD1); |
534 | if (devm_request_irq(&pdev->dev, pdata->irq, ds1511_interrupt, | 534 | if (devm_request_irq(&pdev->dev, pdata->irq, ds1511_interrupt, |
535 | IRQF_DISABLED | IRQF_SHARED, pdev->name, pdev) < 0) { | 535 | IRQF_SHARED, pdev->name, pdev) < 0) { |
536 | 536 | ||
537 | dev_warn(&pdev->dev, "interrupt not available.\n"); | 537 | dev_warn(&pdev->dev, "interrupt not available.\n"); |
538 | pdata->irq = 0; | 538 | pdata->irq = 0; |