phylib: Fix some sparse warnings
Declared some things static, declared some things in the header. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
committed by
Jeff Garzik
parent
f162b9d582
commit
9b9a8bfc8d
@@ -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;
|
||||
|
Reference in New Issue
Block a user