summaryrefslogtreecommitdiff
path: root/drivers/mmc/snps_dw_mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/snps_dw_mmc.c')
-rw-r--r--drivers/mmc/snps_dw_mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/snps_dw_mmc.c b/drivers/mmc/snps_dw_mmc.c
index 4b468a1f3d..009933de5e 100644
--- a/drivers/mmc/snps_dw_mmc.c
+++ b/drivers/mmc/snps_dw_mmc.c
@@ -195,6 +195,6 @@ U_BOOT_DRIVER(snps_dwmmc_drv) = {
.ops = &snps_dwmci_dm_ops,
.bind = snps_dwmmc_bind,
.probe = snps_dwmmc_probe,
- .priv_auto_alloc_size = sizeof(struct snps_dwmci_priv_data),
- .platdata_auto_alloc_size = sizeof(struct snps_dwmci_plat),
+ .priv_auto = sizeof(struct snps_dwmci_priv_data),
+ .platdata_auto = sizeof(struct snps_dwmci_plat),
};