summaryrefslogtreecommitdiff
path: root/drivers/block/sata_ceva.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/sata_ceva.c')
-rw-r--r--drivers/block/sata_ceva.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/sata_ceva.c b/drivers/block/sata_ceva.c
index 9b54664..65a4bb2 100644
--- a/drivers/block/sata_ceva.c
+++ b/drivers/block/sata_ceva.c
@@ -129,7 +129,7 @@ static int sata_ceva_ofdata_to_platdata(struct udevice *dev)
{
struct scsi_platdata *plat = dev_get_platdata(dev);
- plat->base = dev_get_addr(dev);
+ plat->base = devfdt_get_addr(dev);
if (plat->base == FDT_ADDR_T_NONE)
return -EINVAL;