From: Daniel Mack Date: Mon, 2 Jun 2014 11:32:46 +0000 (+0200) Subject: of: of_mdio: export symbol of_mdiobus_link_phydev X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e067ee336a9d3f038ffa9699c59f2abec3376bf7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reported-by: Stephen Rothwell Fixes: 86f6cf41272 ("net: of_mdio: add of_mdiobus_link_phydev()") Signed-off-by: David S. Miller --- diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c index 8478c97f9201..fb4a59830648 100644 --- a/drivers/of/of_mdio.c +++ b/drivers/of/of_mdio.c @@ -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 */ static int of_phy_match(struct device *dev, void *phy_np)