--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
-@@ -1227,6 +1227,7 @@ int phy_init_eee(struct phy_device *phyd
+@@ -1239,6 +1239,7 @@ int phy_init_eee(struct phy_device *phyd
if ((phydev->duplex == DUPLEX_FULL) &&
((phydev->interface == PHY_INTERFACE_MODE_MII) ||
(phydev->interface == PHY_INTERFACE_MODE_GMII) ||