summaryrefslogtreecommitdiff
path: root/drivers/mmc/sti_sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/sti_sdhci.c')
-rw-r--r--drivers/mmc/sti_sdhci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/sti_sdhci.c b/drivers/mmc/sti_sdhci.c
index 5578feebef..49ddabcbe5 100644
--- a/drivers/mmc/sti_sdhci.c
+++ b/drivers/mmc/sti_sdhci.c
@@ -144,6 +144,6 @@ U_BOOT_DRIVER(sti_mmc) = {
.ops = &sdhci_ops,
.ofdata_to_platdata = sti_sdhci_ofdata_to_platdata,
.probe = sti_sdhci_probe,
- .priv_auto_alloc_size = sizeof(struct sdhci_host),
- .platdata_auto_alloc_size = sizeof(struct sti_sdhci_plat),
+ .priv_auto = sizeof(struct sdhci_host),
+ .platdata_auto = sizeof(struct sti_sdhci_plat),
};