summaryrefslogtreecommitdiff
path: root/include/dwmmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dwmmc.h')
-rw-r--r--include/dwmmc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dwmmc.h b/include/dwmmc.h
index d8a8355a0a..51ab74ead3 100644
--- a/include/dwmmc.h
+++ b/include/dwmmc.h
@@ -256,10 +256,10 @@ static inline u8 dwmci_readb(struct dwmci_host *host, int reg)
* ...
*
* Inside U_BOOT_DRIVER():
- * .platdata_auto_alloc_size = sizeof(struct rockchip_mmc_plat),
+ * .plat_auto = sizeof(struct rockchip_mmc_plat),
*
* To access platform data:
- * struct rockchip_mmc_plat *plat = dev_get_platdata(dev);
+ * struct rockchip_mmc_plat *plat = dev_get_plat(dev);
*
* See rockchip_dw_mmc.c for an example.
*