summaryrefslogtreecommitdiff
path: root/drivers/ram/bmips_ram.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ram/bmips_ram.c')
-rw-r--r--drivers/ram/bmips_ram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ram/bmips_ram.c b/drivers/ram/bmips_ram.c
index 7efcc8f..3f9d9a8 100644
--- a/drivers/ram/bmips_ram.c
+++ b/drivers/ram/bmips_ram.c
@@ -135,7 +135,7 @@ static int bmips_ram_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;