Commit b5266ea6 authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman

mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 474de3bb
......@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment