diff options
Diffstat (limited to 'drivers/net/phy/phy.c')
| -rw-r--r-- | drivers/net/phy/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 3c18bb594957..45cc2914d347 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c | |||
| @@ -547,7 +547,7 @@ static void phy_force_reduction(struct phy_device *phydev) | |||
| 547 | * Must not be called from interrupt context, or while the | 547 | * Must not be called from interrupt context, or while the |
| 548 | * phydev->lock is held. | 548 | * phydev->lock is held. |
| 549 | */ | 549 | */ |
| 550 | void phy_error(struct phy_device *phydev) | 550 | static void phy_error(struct phy_device *phydev) |
| 551 | { | 551 | { |
| 552 | mutex_lock(&phydev->lock); | 552 | mutex_lock(&phydev->lock); |
| 553 | phydev->state = PHY_HALTED; | 553 | phydev->state = PHY_HALTED; |
