]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/rtc/rtc-at91sam9.c
rtc: rv8803: Remove the check for valid time
[karo-tx-linux.git] / drivers / rtc / rtc-at91sam9.c
index 99732e6f8c3b295a9647c5d61caf4779b31d6adf..7418a763ce5202b37f96b0cf26863400aa953982 100644 (file)
@@ -375,6 +375,7 @@ static int at91_rtc_probe(struct platform_device *pdev)
        if (!rtc)
                return -ENOMEM;
 
+       spin_lock_init(&rtc->lock);
        rtc->irq = irq;
 
        /* platform setup code should have handled this; sigh */