Commit e2043f5c272d14a0e0acd81382f17cfc883136d6

Authored by Yegor Yefremov
Committed by Joe Hershberger
1 parent 518ce472f7

phy: export genphy_parse_link()

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

Showing 2 changed files with 2 additions and 1 deletions Side-by-side Diff

drivers/net/phy/phy.c
... ... @@ -280,7 +280,7 @@
280 280 *
281 281 * Stolen from Linux's mii.c and phy_device.c
282 282 */
283   -static int genphy_parse_link(struct phy_device *phydev)
  283 +int genphy_parse_link(struct phy_device *phydev)
284 284 {
285 285 int mii_reg = phy_read(phydev, MDIO_DEVAD_NONE, MII_BMSR);
286 286  
... ... @@ -214,6 +214,7 @@
214 214 int genphy_config_aneg(struct phy_device *phydev);
215 215 int genphy_restart_aneg(struct phy_device *phydev);
216 216 int genphy_update_link(struct phy_device *phydev);
  217 +int genphy_parse_link(struct phy_device *phydev);
217 218 int genphy_config(struct phy_device *phydev);
218 219 int genphy_startup(struct phy_device *phydev);
219 220 int genphy_shutdown(struct phy_device *phydev);