diff options
| author | Andy Fleming <[email protected]> | 2008-05-02 18:00:51 +0000 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2008-05-06 16:01:41 +0000 |
| commit | 9b9a8bfc8dfbe09dc57f274e32e8b06151abbad7 (patch) | |
| tree | e866ac5c30d2156c1c7a0c42d1a46886b3a6db05 /drivers/net/phy/phy.c | |
| parent | gianfar: Fix a locking bug in gianfar's sysfs code (diff) | |
| download | kernel-9b9a8bfc8dfbe09dc57f274e32e8b06151abbad7.tar.gz kernel-9b9a8bfc8dfbe09dc57f274e32e8b06151abbad7.zip | |
phylib: Fix some sparse warnings
Declared some things static, declared some things in the header.
Signed-off-by: Andy Fleming <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
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) * Must not be called from interrupt context, or while the * phydev->lock is held. */ -void phy_error(struct phy_device *phydev) +static void phy_error(struct phy_device *phydev) { mutex_lock(&phydev->lock); phydev->state = PHY_HALTED; |
