summaryrefslogtreecommitdiff
path: root/drivers/power/domain/bcm6328-power-domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/domain/bcm6328-power-domain.c')
-rw-r--r--drivers/power/domain/bcm6328-power-domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/domain/bcm6328-power-domain.c b/drivers/power/domain/bcm6328-power-domain.c
index 15638bf3ba..776afa3d43 100644
--- a/drivers/power/domain/bcm6328-power-domain.c
+++ b/drivers/power/domain/bcm6328-power-domain.c
@@ -52,7 +52,7 @@ static int bcm6328_power_domain_probe(struct udevice *dev)
fdt_addr_t addr;
fdt_size_t size;
- addr = dev_get_addr_size_index(dev, 0, &size);
+ addr = devfdt_get_addr_size_index(dev, 0, &size);
if (addr == FDT_ADDR_T_NONE)
return -EINVAL;