net: phy: Export mdiobus_register_board_info()
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 23 Mar 2017 05:40:30 +0000 (22:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Mar 2017 00:13:22 +0000 (17:13 -0700)
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>
drivers/net/phy/mdio-boardinfo.c

index 6b988f77da08fca5ba9e7efec8c4af354ad51ecc..61941e29daae85abe7cc8a5726d669eae3d29137 100644 (file)
@@ -84,3 +84,4 @@ int mdiobus_register_board_info(const struct mdio_board_info *info,
 
        return 0;
 }
+EXPORT_SYMBOL(mdiobus_register_board_info);