diff options
Diffstat (limited to 'drivers/ram')
-rw-r--r-- | drivers/ram/bmips_ram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ram/bmips_ram.c b/drivers/ram/bmips_ram.c index 7efcc8fe7a..3f9d9a8566 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; |