diff options
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/phy_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index e870c0698bbe..ff109fe5af6b 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c | |||
@@ -538,7 +538,7 @@ EXPORT_SYMBOL(phy_detach); | |||
538 | /* Generic PHY support and helper functions */ | 538 | /* Generic PHY support and helper functions */ |
539 | 539 | ||
540 | /** | 540 | /** |
541 | * genphy_config_advert - sanitize and advertise auto-negotation parameters | 541 | * genphy_config_advert - sanitize and advertise auto-negotiation parameters |
542 | * @phydev: target phy_device struct | 542 | * @phydev: target phy_device struct |
543 | * | 543 | * |
544 | * Description: Writes MII_ADVERTISE with the appropriate values, | 544 | * Description: Writes MII_ADVERTISE with the appropriate values, |
@@ -687,7 +687,7 @@ int genphy_config_aneg(struct phy_device *phydev) | |||
687 | return result; | 687 | return result; |
688 | 688 | ||
689 | if (result == 0) { | 689 | if (result == 0) { |
690 | /* Advertisment hasn't changed, but maybe aneg was never on to | 690 | /* Advertisement hasn't changed, but maybe aneg was never on to |
691 | * begin with? Or maybe phy was isolated? */ | 691 | * begin with? Or maybe phy was isolated? */ |
692 | int ctl = phy_read(phydev, MII_BMCR); | 692 | int ctl = phy_read(phydev, MII_BMCR); |
693 | 693 | ||