diff options
| author | Jan Luebbe <[email protected]> | 2012-10-25 20:38:11 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-10-25 21:37:53 +0000 |
| commit | fee0de7791f967c2c5f0d43eb7b7261761b45e64 (patch) | |
| tree | a4773a034125198b8383a27f4e2d7da5fadc5e7c /drivers/rtc/rtc-imxdi.c | |
| parent | mm, numa: avoid setting zone_reclaim_mode unless a node is sufficiently distant (diff) | |
| download | kernel-fee0de7791f967c2c5f0d43eb7b7261761b45e64.tar.gz kernel-fee0de7791f967c2c5f0d43eb7b7261761b45e64.zip | |
drivers/rtc/rtc-imxdi.c: add missing spin lock initialization
Signed-off-by: Jan Luebbe <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Roland Stigge <[email protected]>
Cc: Grant Likely <[email protected]>
Tested-by: Roland Stigge <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Russell King <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/rtc/rtc-imxdi.c')
| -rw-r--r-- | drivers/rtc/rtc-imxdi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index 891cd6c61d0a..4eed51044c5d 100644 --- a/drivers/rtc/rtc-imxdi.c +++ b/drivers/rtc/rtc-imxdi.c @@ -392,6 +392,8 @@ static int dryice_rtc_probe(struct platform_device *pdev) if (imxdi->ioaddr == NULL) return -ENOMEM; + spin_lock_init(&imxdi->irq_lock); + imxdi->irq = platform_get_irq(pdev, 0); if (imxdi->irq < 0) return imxdi->irq; |
