summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-xtensa.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-xtensa.c')
-rw-r--r--drivers/gpio/gpio-xtensa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-xtensa.c b/drivers/gpio/gpio-xtensa.c
index 93ec95d..f16c042 100644
--- a/drivers/gpio/gpio-xtensa.c
+++ b/drivers/gpio/gpio-xtensa.c
@@ -148,10 +148,10 @@ static int xtensa_gpio_probe(struct platform_device *pdev)
{
int ret;
- ret = gpiochip_add(&impwire_chip);
+ ret = gpiochip_add_data(&impwire_chip, NULL);
if (ret)
return ret;
- return gpiochip_add(&expstate_chip);
+ return gpiochip_add_data(&expstate_chip, NULL);
}
static struct platform_driver xtensa_gpio_driver = {
OpenPOWER on IntegriCloud