diff options
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.c')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 5cf8d03b8cae..25c364209a21 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c | |||
@@ -1520,7 +1520,7 @@ static int cpsw_probe_dt(struct cpsw_platform_data *data, | |||
1520 | memcpy(slave_data->mac_addr, mac_addr, ETH_ALEN); | 1520 | memcpy(slave_data->mac_addr, mac_addr, ETH_ALEN); |
1521 | 1521 | ||
1522 | if (data->dual_emac) { | 1522 | if (data->dual_emac) { |
1523 | if (of_property_read_u32(node, "dual_emac_res_vlan", | 1523 | if (of_property_read_u32(slave_node, "dual_emac_res_vlan", |
1524 | &prop)) { | 1524 | &prop)) { |
1525 | pr_err("Missing dual_emac_res_vlan in DT.\n"); | 1525 | pr_err("Missing dual_emac_res_vlan in DT.\n"); |
1526 | slave_data->dual_emac_res_vlan = i+1; | 1526 | slave_data->dual_emac_res_vlan = i+1; |