diff --git a/drivers/net/phy/ksz8895.c b/drivers/net/phy/ksz8895.c index 44c3ab5..8e6d492 100644 --- a/drivers/net/phy/ksz8895.c +++ b/drivers/net/phy/ksz8895.c @@ -908,7 +908,7 @@ static int ksz8895_switch_config_init(struct phy_device *phydev) * PHY 5. Addresses 0x01-0x1F of the actual bus will be used by the 5 PHYs and * SMI registers. */ -int ksz8895_switch_match_phy_device(struct phy_device *phydev) +static int ksz8895_switch_match_phy_device(struct phy_device *phydev) { return (phydev->phy_id & KSZ8895_PHY_ID_MASK) == (KSZ8895_PHY_ID & KSZ8895_PHY_ID_MASK) && @@ -931,7 +931,7 @@ static int ksz8895_phy_5_config_init(struct phy_device *phydev) } /* See ksz8895_switch_match_phy_device */ -int ksz8895_phy_5_match_phy_device(struct phy_device *phydev) +static int ksz8895_phy_5_match_phy_device(struct phy_device *phydev) { return (phydev->phy_id & KSZ8895_PHY_ID_MASK) == (KSZ8895_PHY_ID & KSZ8895_PHY_ID_MASK) &&