mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
phy: export genphy_parse_link()
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This commit is contained in:
committed by
Joe Hershberger
parent
518ce472f7
commit
e2043f5c27
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user