aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/tegra186_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/tegra186_gpio.c')
-rw-r--r--drivers/gpio/tegra186_gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/tegra186_gpio.c b/drivers/gpio/tegra186_gpio.c
index 6626b5415a3..a518a395cab 100644
--- a/drivers/gpio/tegra186_gpio.c
+++ b/drivers/gpio/tegra186_gpio.c
@@ -190,8 +190,8 @@ static int tegra186_gpio_bind(struct udevice *parent)
plat->name = ctlr_data->ports[port].name;
plat->regs = &(regs[ctlr_data->ports[port].offset / 4]);
- ret = device_bind(parent, parent->driver, plat->name, plat,
- -1, &dev);
+ ret = device_bind_offset(parent, parent->driver, plat->name,
+ plat, -1, &dev);
if (ret)
return ret;
dev_set_of_offset(dev, dev_of_offset(parent));