Subject: [PATCH 2/2] of: of_mdio: export symbol of_mdiobus_link_phydev

From: Daniel Mack <[email-masked]>
Date: Mon, 2 Jun 2014 13:32:46 +0200

Make of_mdiobus_link_phydev externally available.
This fixes CONFIG_OF_MDIO=m.

Signed-off-by: Daniel Mack <[email-masked]>
Reported-by: Stephen Rothwell <[email-masked]>
Fixes: 86f6cf41272 ("net: of_mdio: add of_mdiobus_link_phydev()")
---
 drivers/of/of_mdio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
index cb36018..b64c258 100644
--- a/drivers/of/of_mdio.c
+++ b/drivers/of/of_mdio.c
@@ -240,6 +240,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)
-- 
1.9.0