Skip to content

Commit

Permalink
of: of_mdio: export symbol of_mdiobus_link_phydev
Browse files Browse the repository at this point in the history
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: 86f6cf4 ("net: of_mdio: add of_mdiobus_link_phydev()")
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Daniel Mack authored and David S. Miller committed Jun 2, 2014
1 parent 4cd984b commit e067ee3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/of/of_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e067ee3

Please sign in to comment.