summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorFlorian Fainelli2017-03-23 06:40:30 +0100
committerDavid S. Miller2017-03-24 01:13:22 +0100
commitf35ec35e5e726e7137deaee0dec24f8cbf07a48f (patch)
tree94f09cf8799c06fad4196fc9d8c1fdde3a3acd72 /drivers/net/phy
parentMerge tag 'sound-4.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/t... (diff)
downloadkernel-qcow2-linux-f35ec35e5e726e7137deaee0dec24f8cbf07a48f.tar.gz
kernel-qcow2-linux-f35ec35e5e726e7137deaee0dec24f8cbf07a48f.tar.xz
kernel-qcow2-linux-f35ec35e5e726e7137deaee0dec24f8cbf07a48f.zip
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/mdio-boardinfo.c b/drivers/net/phy/mdio-boardinfo.c
index 6b988f77da08..61941e29daae 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);