diff options
Diffstat (limited to 'drivers/ata/fsl_sata.c')
-rw-r--r-- | drivers/ata/fsl_sata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/fsl_sata.c b/drivers/ata/fsl_sata.c index 8e4f382..99af1d4 100644 --- a/drivers/ata/fsl_sata.c +++ b/drivers/ata/fsl_sata.c @@ -808,7 +808,7 @@ int scan_sata(int dev) #else static int scan_sata(struct udevice *dev) { - struct blk_desc *desc = dev_get_uclass_platdata(dev); + struct blk_desc *desc = dev_get_uclass_plat(dev); struct fsl_ata_priv *priv = dev_get_platdata(dev); fsl_sata_t *sata = priv->fsl_sata; #endif @@ -900,7 +900,7 @@ U_BOOT_DRIVER(sata_fsl_driver) = { .name = "sata_fsl_blk", .id = UCLASS_BLK, .ops = &sata_fsl_blk_ops, - .platdata_auto = sizeof(struct fsl_ata_priv), + .plat_auto = sizeof(struct fsl_ata_priv), }; static int fsl_ata_ofdata_to_platdata(struct udevice *dev) |