From: Uwe Kleine-König Date: Tue, 23 May 2017 22:26:07 +0000 (+0200) Subject: net: phy: put genphy_config_init's EXPORT_SYMBOL directly after the function X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a0a32d3a0ed98c1ae17973533d87baaac7079279;p=openwrt%2Fstaging%2Fblogic.git net: phy: put genphy_config_init's EXPORT_SYMBOL directly after the function Commit af6b6967d6e1 ("net: phy: export genphy_config_init()") introduced this EXPORT_SYMBOL and put it after gen10g_soft_reset() instead of directly after genphy_config_init. Probably this happend when the patch was applied because http://patchwork.ozlabs.org/patch/339622/ looks ok. Signed-off-by: Uwe Kleine-König Acked-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 1219eeab69d1..0780e9f9e167 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -1571,13 +1571,13 @@ int genphy_config_init(struct phy_device *phydev) return 0; } +EXPORT_SYMBOL(genphy_config_init); static int gen10g_soft_reset(struct phy_device *phydev) { /* Do nothing for now */ return 0; } -EXPORT_SYMBOL(genphy_config_init); static int gen10g_config_init(struct phy_device *phydev) {