summaryrefslogtreecommitdiff
path: root/drivers/net/bcm6348-eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bcm6348-eth.c')
-rw-r--r--drivers/net/bcm6348-eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bcm6348-eth.c b/drivers/net/bcm6348-eth.c
index 9ddc0f938f..6d62246678 100644
--- a/drivers/net/bcm6348-eth.c
+++ b/drivers/net/bcm6348-eth.c
@@ -533,7 +533,7 @@ U_BOOT_DRIVER(bcm6348_eth) = {
.id = UCLASS_ETH,
.of_match = bcm6348_eth_ids,
.ops = &bcm6348_eth_ops,
- .platdata_auto_alloc_size = sizeof(struct eth_pdata),
- .priv_auto_alloc_size = sizeof(struct bcm6348_eth_priv),
+ .platdata_auto = sizeof(struct eth_pdata),
+ .priv_auto = sizeof(struct bcm6348_eth_priv),
.probe = bcm6348_eth_probe,
};