summaryrefslogtreecommitdiff
path: root/drivers/ram/rockchip/sdram_rk3328.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ram/rockchip/sdram_rk3328.c')
-rw-r--r--drivers/ram/rockchip/sdram_rk3328.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ram/rockchip/sdram_rk3328.c b/drivers/ram/rockchip/sdram_rk3328.c
index 98c7feb6cf..961c95856a 100644
--- a/drivers/ram/rockchip/sdram_rk3328.c
+++ b/drivers/ram/rockchip/sdram_rk3328.c
@@ -615,8 +615,8 @@ U_BOOT_DRIVER(rockchip_rk3328_dmc) = {
.ofdata_to_platdata = rk3328_dmc_ofdata_to_platdata,
#endif
.probe = rk3328_dmc_probe,
- .priv_auto_alloc_size = sizeof(struct dram_info),
+ .priv_auto = sizeof(struct dram_info),
#ifdef CONFIG_TPL_BUILD
- .platdata_auto_alloc_size = sizeof(struct rockchip_dmc_plat),
+ .platdata_auto = sizeof(struct rockchip_dmc_plat),
#endif
};