of: of_mdio: export symbol of_mdiobus_link_phydev
authorDaniel Mack <zonque@gmail.com>
Mon, 2 Jun 2014 11:32:46 +0000 (13:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jun 2014 17:43:07 +0000 (10:43 -0700)
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>
drivers/of/of_mdio.c

index 8478c97f920164c8f5bda48d75d555842f6c611b..fb4a5983064824cad8338cad9327121a615566b4 100644 (file)
@@ -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)