summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_intel_mid.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/serial_intel_mid.c')
-rw-r--r--drivers/serial/serial_intel_mid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_intel_mid.c b/drivers/serial/serial_intel_mid.c
index 39bd40e68b..f9281590cd 100644
--- a/drivers/serial/serial_intel_mid.c
+++ b/drivers/serial/serial_intel_mid.c
@@ -60,8 +60,8 @@ U_BOOT_DRIVER(serial_intel_mid) = {
.id = UCLASS_SERIAL,
.of_match = mid_serial_ids,
.ofdata_to_platdata = ns16550_serial_ofdata_to_platdata,
- .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
- .priv_auto_alloc_size = sizeof(struct NS16550),
+ .platdata_auto = sizeof(struct ns16550_platdata),
+ .priv_auto = sizeof(struct NS16550),
.probe = mid_serial_probe,
.ops = &ns16550_serial_ops,
};