diff options
Diffstat (limited to 'drivers/power/pmic/lp873x.c')
-rw-r--r-- | drivers/power/pmic/lp873x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pmic/lp873x.c b/drivers/power/pmic/lp873x.c index 307f96bad1..d8f30df371 100644 --- a/drivers/power/pmic/lp873x.c +++ b/drivers/power/pmic/lp873x.c @@ -49,7 +49,7 @@ static int lp873x_bind(struct udevice *dev) int regulators_node; const void *blob = gd->fdt_blob; int children; - int node = dev->of_offset; + int node = dev_of_offset(dev); regulators_node = fdt_subnode_offset(blob, node, "regulators"); |