summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-02-01 12:31:47 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-13 11:17:04 -0800
commit6bffce08e4d8f5daf00e3d45dad594764c3fc8f0 (patch)
treef715ca43e14966d1b109ebef162b2c263b2388e2 /drivers/misc
parent5c97f5b2d4924961479e862e8fe516ba217551b3 (diff)
mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip
commit b5266ea675c5a041e2852c7ccec4cf2d4f5e0cf4 upstream. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/cb710/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/cb710/core.c b/drivers/misc/cb710/core.c
index 68cd05b6d829..85cc7710193c 100644
--- a/drivers/misc/cb710/core.c
+++ b/drivers/misc/cb710/core.c
@@ -245,6 +245,7 @@ static int __devinit cb710_probe(struct pci_dev *pdev,
if (err)
return err;
+ spin_lock_init(&chip->irq_lock);
chip->pdev = pdev;
chip->iobase = pcim_iomap_table(pdev)[0];