diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-03-22 22:40:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-23 17:13:22 -0700 |
commit | f35ec35e5e726e7137deaee0dec24f8cbf07a48f (patch) | |
tree | 94f09cf8799c06fad4196fc9d8c1fdde3a3acd72 /drivers/net/phy | |
parent | d038e3dcfff6e3de132726a9c7174d8170032aa4 (diff) | |
download | op-kernel-dev-f35ec35e5e726e7137deaee0dec24f8cbf07a48f.zip op-kernel-dev-f35ec35e5e726e7137deaee0dec24f8cbf07a48f.tar.gz |
net: phy: Export mdiobus_register_board_info()
We can build modular code that uses mdiobus_register_board_info() which would
lead to linking failure since this symbol is not expoerted.
Fixes: 648ea0134069 ("net: phy: Allow pre-declaration of MDIO devices")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/mdio-boardinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/mdio-boardinfo.c b/drivers/net/phy/mdio-boardinfo.c index 6b988f7..61941e2 100644 --- a/drivers/net/phy/mdio-boardinfo.c +++ b/drivers/net/phy/mdio-boardinfo.c @@ -84,3 +84,4 @@ int mdiobus_register_board_info(const struct mdio_board_info *info, return 0; } +EXPORT_SYMBOL(mdiobus_register_board_info); |