summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-05-26 20:15:46 -0400
committerTom Rini <trini@konsulko.com>2019-05-26 20:15:46 -0400
commit696f02d99b41190786b17ad28316a0cd45792c2c (patch)
tree1600a13282ed2553be44727208832699bc9140dc /drivers
parent344a0e4367d0820b8eb2ea4a90132433e038095f (diff)
parentca9387e8b1e276e17244010620319cc8bbd1c655 (diff)
downloadu-boot-696f02d99b41190786b17ad28316a0cd45792c2c.tar.gz
u-boot-696f02d99b41190786b17ad28316a0cd45792c2c.tar.xz
u-boot-696f02d99b41190786b17ad28316a0cd45792c2c.zip
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
- SoCFPGA PL310 cleanup + A10 fix, A10 DT cleanup, DW GPIO fix.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/dwapb_gpio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpio/dwapb_gpio.c b/drivers/gpio/dwapb_gpio.c
index 04a2381acd..2eb1547b4f 100644
--- a/drivers/gpio/dwapb_gpio.c
+++ b/drivers/gpio/dwapb_gpio.c
@@ -185,12 +185,11 @@ static int gpio_dwapb_bind(struct udevice *dev)
plat->name = ofnode_get_name(node);
}
- ret = device_bind(dev, dev->driver, plat->name,
- plat, -1, &subdev);
+ ret = device_bind_ofnode(dev, dev->driver, plat->name,
+ plat, node, &subdev);
if (ret)
return ret;
- dev->node = node;
bank++;
}