]> git.sur5r.net Git - u-boot/commit
fdt: fix dev_get_addr_name node offset
authorStephen Warren <swarren@nvidia.com>
Thu, 28 Apr 2016 22:04:15 +0000 (16:04 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commit35732098db382b48e3fb4f3595fc108f69ea4457
tree5d78049bf27057fa6a944e2bc4c50adcdba0a6de
parent54693cbdca5724b8946d0522a736e8a49fa14c0c
fdt: fix dev_get_addr_name node offset

Use the device's own DT offset, not the device's parent's.

Fixes: 43c4d44e3330 ("fdt: implement dev_get_addr_name()")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c