summaryrefslogtreecommitdiff
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2012-11-28 11:15:17 +0100
committerJoe Hershberger <joe.hershberger@ni.com>2013-06-24 19:07:32 -0500
commite2043f5c272d14a0e0acd81382f17cfc883136d6 (patch)
tree080ed9ce6f6a6cdaf74c6f2728ccd0febd3ddc56 /drivers/net/phy
parent518ce472f7b89284454cf5a7107837e995a5caf9 (diff)
downloadu-boot-imx-e2043f5c272d14a0e0acd81382f17cfc883136d6.zip
u-boot-imx-e2043f5c272d14a0e0acd81382f17cfc883136d6.tar.gz
u-boot-imx-e2043f5c272d14a0e0acd81382f17cfc883136d6.tar.bz2
phy: export genphy_parse_link()
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index f8c5481..8f4c0c6 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -280,7 +280,7 @@ int genphy_update_link(struct phy_device *phydev)
*
* Stolen from Linux's mii.c and phy_device.c
*/
-static int genphy_parse_link(struct phy_device *phydev)
+int genphy_parse_link(struct phy_device *phydev)
{
int mii_reg = phy_read(phydev, MDIO_DEVAD_NONE, MII_BMSR);