summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-06-02 11:32:46 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-06-02 17:43:07 (GMT)
commite067ee336a9d3f038ffa9699c59f2abec3376bf7 (patch)
tree79b12e7be8e271b46121f330fa98b88b45689e66 /drivers/of
parent4cd984b022597b3454c7999addf9d48f41189ea6 (diff)
downloadlinux-e067ee336a9d3f038ffa9699c59f2abec3376bf7.tar.xz
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: 86f6cf41272 ("net: of_mdio: add of_mdiobus_link_phydev()") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/of_mdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
index 8478c97..fb4a598 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)