summaryrefslogtreecommitdiff
path: root/drivers/net/dwmac_socfpga.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dwmac_socfpga.c')
-rw-r--r--drivers/net/dwmac_socfpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dwmac_socfpga.c b/drivers/net/dwmac_socfpga.c
index 9ab2eeb2bc..ebbbcacfa3 100644
--- a/drivers/net/dwmac_socfpga.c
+++ b/drivers/net/dwmac_socfpga.c
@@ -119,6 +119,6 @@ U_BOOT_DRIVER(dwmac_socfpga) = {
.probe = dwmac_socfpga_probe,
.ops = &designware_eth_ops,
.priv_auto = sizeof(struct dw_eth_dev),
- .platdata_auto = sizeof(struct dwmac_socfpga_platdata),
+ .plat_auto = sizeof(struct dwmac_socfpga_platdata),
.flags = DM_FLAG_ALLOC_PRIV_DMA,
};