summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_cortina.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/serial_cortina.c')
-rw-r--r--drivers/serial/serial_cortina.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_cortina.c b/drivers/serial/serial_cortina.c
index cc20673efe..a0ae2fe0a4 100644
--- a/drivers/serial/serial_cortina.c
+++ b/drivers/serial/serial_cortina.c
@@ -159,7 +159,7 @@ U_BOOT_DRIVER(serial_cortina) = {
.id = UCLASS_SERIAL,
.of_match = ca_serial_ids,
.ofdata_to_platdata = ca_serial_ofdata_to_platdata,
- .priv_auto_alloc_size = sizeof(struct ca_uart_priv),
+ .priv_auto = sizeof(struct ca_uart_priv),
.probe = ca_serial_probe,
.ops = &ca_serial_ops
};