diff options
Diffstat (limited to 'drivers/rtc/rtc-at91sam9.c')
-rw-r--r-- | drivers/rtc/rtc-at91sam9.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 99732e6f8c3b..7418a763ce52 100644 --- a/drivers/rtc/rtc-at91sam9.c +++ b/drivers/rtc/rtc-at91sam9.c | |||
@@ -375,6 +375,7 @@ static int at91_rtc_probe(struct platform_device *pdev) | |||
375 | if (!rtc) | 375 | if (!rtc) |
376 | return -ENOMEM; | 376 | return -ENOMEM; |
377 | 377 | ||
378 | spin_lock_init(&rtc->lock); | ||
378 | rtc->irq = irq; | 379 | rtc->irq = irq; |
379 | 380 | ||
380 | /* platform setup code should have handled this; sigh */ | 381 | /* platform setup code should have handled this; sigh */ |