aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/altera_tse.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/altera_tse.c')
-rw-r--r--drivers/net/altera_tse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c
index 93b26da3926..7d0c58cd532 100644
--- a/drivers/net/altera_tse.c
+++ b/drivers/net/altera_tse.c
@@ -711,7 +711,7 @@ U_BOOT_DRIVER(altera_tse) = {
.of_match = altera_tse_ids,
.ops = &altera_tse_ops,
.ofdata_to_platdata = altera_tse_ofdata_to_platdata,
- .platdata_auto_alloc_size = sizeof(struct eth_pdata),
- .priv_auto_alloc_size = sizeof(struct altera_tse_priv),
+ .platdata_auto = sizeof(struct eth_pdata),
+ .priv_auto = sizeof(struct altera_tse_priv),
.probe = altera_tse_probe,
};