diff options
author | Tom Rini <trini@konsulko.com> | 2017-02-08 16:24:44 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-02-08 16:24:44 -0500 |
commit | 21342d4aed6c77a4aa7a5b2579b3c23e21aea31a (patch) | |
tree | 279c781bdcbe697257ff86714fa0355bcd92fd19 /drivers/led/led_gpio.c | |
parent | 7582ddce132390fba10822c5977cd1ab532bb1eb (diff) | |
parent | f11a0af713a714ee2efcd810dd81c6dfd59381aa (diff) |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'drivers/led/led_gpio.c')
-rw-r--r-- | drivers/led/led_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/led/led_gpio.c b/drivers/led/led_gpio.c index cb6e996931..5b119903f5 100644 --- a/drivers/led/led_gpio.c +++ b/drivers/led/led_gpio.c @@ -62,7 +62,7 @@ static int led_gpio_bind(struct udevice *parent) int node; int ret; - for (node = fdt_first_subnode(blob, parent->of_offset); + for (node = fdt_first_subnode(blob, dev_of_offset(parent)); node > 0; node = fdt_next_subnode(blob, node)) { struct led_uclass_plat *uc_plat; |