summaryrefslogtreecommitdiff
path: root/drivers/reset/reset-bcm6345.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/reset/reset-bcm6345.c')
-rw-r--r--drivers/reset/reset-bcm6345.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-bcm6345.c b/drivers/reset/reset-bcm6345.c
index 774c2a7538..ebf6bee9e6 100644
--- a/drivers/reset/reset-bcm6345.c
+++ b/drivers/reset/reset-bcm6345.c
@@ -70,7 +70,7 @@ static int bcm6345_reset_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;