Skip to content

Commit e067ee3

Browse files
zonquedavem330
authored andcommitted
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: 86f6cf4 ("net: of_mdio: add of_mdiobus_link_phydev()") Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4cd984b commit e067ee3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/of/of_mdio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ void of_mdiobus_link_phydev(struct mii_bus *mdio,
214214
}
215215
}
216216
}
217+
EXPORT_SYMBOL(of_mdiobus_link_phydev);
217218

218219
/* Helper function for of_phy_find_device */
219220
static int of_phy_match(struct device *dev, void *phy_np)

0 commit comments

Comments
 (0)