summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cb710
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-02-01 05:31:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-03 01:28:14 +0100
commitb5266ea675c5a041e2852c7ccec4cf2d4f5e0cf4 (patch)
tree5d58c2144f239e870fcf2fd792c133765a167e35 /drivers/misc/cb710
parentcs5535-mfgpt: don't call __init function from __devinit (diff)
downloadlinux-b5266ea675c5a041e2852c7ccec4cf2d4f5e0cf4.tar.xz
linux-b5266ea675c5a041e2852c7ccec4cf2d4f5e0cf4.zip
mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/cb710')
-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];