diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-02-01 12:31:47 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-13 11:06:13 -0800 |
commit | ebc5010892742064d7436a1c1ff91b3189c4b8c7 (patch) | |
tree | 43fd60b5d440737b819b2aacbffe540f2f743090 /drivers/misc | |
parent | 27939dafb1bd1053fda96d69d4b693f29f2389b6 (diff) | |
download | kernel_samsung_smdk4412-ebc5010892742064d7436a1c1ff91b3189c4b8c7.zip kernel_samsung_smdk4412-ebc5010892742064d7436a1c1ff91b3189c4b8c7.tar.gz kernel_samsung_smdk4412-ebc5010892742064d7436a1c1ff91b3189c4b8c7.tar.bz2 |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/cb710/core.c b/drivers/misc/cb710/core.c index efec413..b1f16d6 100644 --- a/drivers/misc/cb710/core.c +++ b/drivers/misc/cb710/core.c @@ -244,6 +244,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]; |