diff options
Diffstat (limited to 'drivers/ata/sata_ceva.c')
-rw-r--r-- | drivers/ata/sata_ceva.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_ceva.c b/drivers/ata/sata_ceva.c index 9a77725ae61..87e6a90f74e 100644 --- a/drivers/ata/sata_ceva.c +++ b/drivers/ata/sata_ceva.c @@ -199,7 +199,7 @@ static const struct udevice_id sata_ceva_ids[] = { { } }; -static int sata_ceva_ofdata_to_platdata(struct udevice *dev) +static int sata_ceva_of_to_plat(struct udevice *dev) { struct ceva_sata_priv *priv = dev_get_priv(dev); struct resource res_regs; @@ -235,5 +235,5 @@ U_BOOT_DRIVER(ceva_host_blk) = { .ops = &scsi_ops, .priv_auto = sizeof(struct ceva_sata_priv), .probe = sata_ceva_probe, - .ofdata_to_platdata = sata_ceva_ofdata_to_platdata, + .of_to_plat = sata_ceva_of_to_plat, }; |