summaryrefslogtreecommitdiff
path: root/drivers/net/mscc_eswitch/ocelot_switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mscc_eswitch/ocelot_switch.c')
-rw-r--r--drivers/net/mscc_eswitch/ocelot_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mscc_eswitch/ocelot_switch.c b/drivers/net/mscc_eswitch/ocelot_switch.c
index 5179b82a63..18e11ec2a9 100644
--- a/drivers/net/mscc_eswitch/ocelot_switch.c
+++ b/drivers/net/mscc_eswitch/ocelot_switch.c
@@ -652,5 +652,5 @@ U_BOOT_DRIVER(ocelot) = {
.remove = ocelot_remove,
.ops = &ocelot_ops,
.priv_auto = sizeof(struct ocelot_private),
- .platdata_auto = sizeof(struct eth_pdata),
+ .plat_auto = sizeof(struct eth_pdata),
};