summaryrefslogtreecommitdiff
path: root/drivers/mmc/hi6220_dw_mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/hi6220_dw_mmc.c')
-rw-r--r--drivers/mmc/hi6220_dw_mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c
index 67d6a05b3b..cdc9a44e3e 100644
--- a/drivers/mmc/hi6220_dw_mmc.c
+++ b/drivers/mmc/hi6220_dw_mmc.c
@@ -112,6 +112,6 @@ U_BOOT_DRIVER(hi6220_dwmmc_drv) = {
.ops = &dm_dwmci_ops,
.bind = hi6220_dwmmc_bind,
.probe = hi6220_dwmmc_probe,
- .priv_auto_alloc_size = sizeof(struct hi6220_dwmmc_priv_data),
- .platdata_auto_alloc_size = sizeof(struct hi6220_dwmmc_plat),
+ .priv_auto = sizeof(struct hi6220_dwmmc_priv_data),
+ .platdata_auto = sizeof(struct hi6220_dwmmc_plat),
};