diff options
Diffstat (limited to 'drivers/gpio/gpio-xlp.c')
-rw-r--r-- | drivers/gpio/gpio-xlp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-xlp.c b/drivers/gpio/gpio-xlp.c index bc06a2cd2c1d..3f31aac2ba3c 100644 --- a/drivers/gpio/gpio-xlp.c +++ b/drivers/gpio/gpio-xlp.c | |||
@@ -373,7 +373,7 @@ static int xlp_gpio_probe(struct platform_device *pdev) | |||
373 | gc->owner = THIS_MODULE; | 373 | gc->owner = THIS_MODULE; |
374 | gc->label = dev_name(&pdev->dev); | 374 | gc->label = dev_name(&pdev->dev); |
375 | gc->base = 0; | 375 | gc->base = 0; |
376 | gc->dev = &pdev->dev; | 376 | gc->parent = &pdev->dev; |
377 | gc->ngpio = ngpio; | 377 | gc->ngpio = ngpio; |
378 | gc->of_node = pdev->dev.of_node; | 378 | gc->of_node = pdev->dev.of_node; |
379 | gc->direction_output = xlp_gpio_dir_output; | 379 | gc->direction_output = xlp_gpio_dir_output; |