]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net: phy: put genphy_config_init's EXPORT_SYMBOL directly after the function
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 23 May 2017 22:26:07 +0000 (00:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 May 2017 16:48:39 +0000 (12:48 -0400)
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 <u.kleine-koenig@pengutronix.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c

index 1219eeab69d1ff4b94fceb942e38c9b9e989ae40..0780e9f9e1677efc6ce4ea47c15a6f77185fdb38 100644 (file)
@@ -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)
 {