mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip
authorAxel Lin <[email protected]>
Wed, 1 Feb 2012 04:31:47 +0000 (12:31 +0800)
committerGreg Kroah-Hartman <[email protected]>
Fri, 3 Feb 2012 00:28:14 +0000 (16:28 -0800)
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Michał Mirosław <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/misc/cb710/core.c

index 68cd05b6d829d1f3b7fa15f256f78b3bb6f82f82..85cc7710193c7bfe224bfa08f3a8b1df8f66295f 100644 (file)
@@ -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];