Skip to content

Commit

Permalink
net: phy: put genphy_config_init's EXPORT_SYMBOL directly after the f…
Browse files Browse the repository at this point in the history
…unction

Commit af6b696 ("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>
  • Loading branch information
Uwe Kleine-König authored and David S. Miller committed May 25, 2017
1 parent d0e1a1b commit a0a32d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/phy/phy_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a0a32d3

Please sign in to comment.