diff options
author | Tom Rini <trini@konsulko.com> | 2019-05-26 20:15:46 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-05-26 20:15:46 -0400 |
commit | 696f02d99b41190786b17ad28316a0cd45792c2c (patch) | |
tree | 1600a13282ed2553be44727208832699bc9140dc /drivers | |
parent | 344a0e4367d0820b8eb2ea4a90132433e038095f (diff) | |
parent | ca9387e8b1e276e17244010620319cc8bbd1c655 (diff) | |
download | u-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.c | 5 |
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++; } |