summaryrefslogtreecommitdiff
path: root/drivers/ram/bmips_ram.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ram/bmips_ram.c')
-rw-r--r--drivers/ram/bmips_ram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ram/bmips_ram.c b/drivers/ram/bmips_ram.c
index 8f953e79af..98045248ec 100644
--- a/drivers/ram/bmips_ram.c
+++ b/drivers/ram/bmips_ram.c
@@ -172,6 +172,6 @@ U_BOOT_DRIVER(bmips_ram) = {
.id = UCLASS_RAM,
.of_match = bmips_ram_ids,
.probe = bmips_ram_probe,
- .priv_auto_alloc_size = sizeof(struct bmips_ram_priv),
+ .priv_auto = sizeof(struct bmips_ram_priv),
.ops = &bmips_ram_ops,
};