summaryrefslogtreecommitdiff
path: root/drivers/usb/eth/lan75xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/eth/lan75xx.c')
-rw-r--r--drivers/usb/eth/lan75xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/eth/lan75xx.c b/drivers/usb/eth/lan75xx.c
index 46b92e8d68..1fa7e53404 100644
--- a/drivers/usb/eth/lan75xx.c
+++ b/drivers/usb/eth/lan75xx.c
@@ -304,8 +304,8 @@ U_BOOT_DRIVER(lan75xx_eth) = {
.probe = lan75xx_eth_probe,
.remove = lan7x_eth_remove,
.ops = &lan75xx_eth_ops,
- .priv_auto_alloc_size = sizeof(struct lan7x_private),
- .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+ .priv_auto = sizeof(struct lan7x_private),
+ .platdata_auto = sizeof(struct eth_pdata),
};
static const struct usb_device_id lan75xx_eth_id_table[] = {