diff options
-rw-r--r-- | drivers/gpio/gpio-xgene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index 150e7f1c5ae8..35104fd06bb9 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c | |||
@@ -189,6 +189,7 @@ static int xgene_gpio_probe(struct platform_device *pdev) | |||
189 | 189 | ||
190 | gpio->chip.ngpio = XGENE_MAX_GPIOS; | 190 | gpio->chip.ngpio = XGENE_MAX_GPIOS; |
191 | 191 | ||
192 | spin_lock_init(&gpio->lock); | ||
192 | gpio->chip.dev = &pdev->dev; | 193 | gpio->chip.dev = &pdev->dev; |
193 | gpio->chip.direction_input = xgene_gpio_dir_in; | 194 | gpio->chip.direction_input = xgene_gpio_dir_in; |
194 | gpio->chip.direction_output = xgene_gpio_dir_out; | 195 | gpio->chip.direction_output = xgene_gpio_dir_out; |