projects
/
linux-flexiantxendom0.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpio: Add missing spin_lock_init in gpio-pch driver
[linux-flexiantxendom0.git]
/
drivers
/
gpio
/
gpio-pch.c
diff --git
a/drivers/gpio/gpio-pch.c
b/drivers/gpio/gpio-pch.c
index
eb574f2
..
779ff70
100644
(file)
--- a/
drivers/gpio/gpio-pch.c
+++ b/
drivers/gpio/gpio-pch.c
@@
-392,6
+392,7
@@
static int __devinit pch_gpio_probe(struct pci_dev *pdev,
chip->reg = chip->base;
pci_set_drvdata(pdev, chip);
mutex_init(&chip->lock);
+ spin_lock_init(&chip->spinlock);
pch_gpio_setup(chip);
ret = gpiochip_add(&chip->gpio);
if (ret) {