diff options
Diffstat (limited to 'net/dsa')
-rw-r--r-- | net/dsa/port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/port.c b/net/dsa/port.c index 70744fec9717..585b6b9a9433 100644 --- a/net/dsa/port.c +++ b/net/dsa/port.c @@ -618,7 +618,7 @@ static int dsa_port_phylink_register(struct dsa_port *dp) } err = phylink_of_phy_connect(dp->pl, port_dn, 0); - if (err) { + if (err && err != -ENODEV) { pr_err("could not attach to PHY: %d\n", err); goto err_phy_connect; } |