Messages in this thread Patch in this message | | | Subject | [PATCH] mmc: cb710 core: Add missing spin_lock_init for irq_lock of struct cb710_chip | From | Axel Lin <> | Date | Wed, 01 Feb 2012 12:31:47 +0800 |
| |
Signed-off-by: Axel Lin <axel.lin@gmail.com> --- drivers/misc/cb710/core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/misc/cb710/core.c b/drivers/misc/cb710/core.c index 68cd05b..85cc7710 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]; -- 1.7.5.4
| |