of: of_mdio: export symbol of_mdiobus_link_phydev
Make of_mdiobus_link_phydev externally available.
This fixes CONFIG_OF_MDIO=m.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 86f6cf4127
("net: of_mdio: add of_mdiobus_link_phydev()")
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4cd984b022
commit
e067ee336a
|
@ -214,6 +214,7 @@ void of_mdiobus_link_phydev(struct mii_bus *mdio,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(of_mdiobus_link_phydev);
|
||||||
|
|
||||||
/* Helper function for of_phy_find_device */
|
/* Helper function for of_phy_find_device */
|
||||||
static int of_phy_match(struct device *dev, void *phy_np)
|
static int of_phy_match(struct device *dev, void *phy_np)
|
||||||
|
|
Loading…
Reference in New Issue