* [PATCH] net: phy: put genphy_config_init's EXPORT_SYMBOL directly after the function
@ 2017-05-23 22:26 Uwe Kleine-König
2017-05-23 22:28 ` Florian Fainelli
2017-05-25 16:48 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2017-05-23 22:26 UTC (permalink / raw)
To: Andrew Lunn, Florian Fainelli, David S. Miller; +Cc: netdev, kernel
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>
---
drivers/net/phy/phy_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
{
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] net: phy: put genphy_config_init's EXPORT_SYMBOL directly after the function
2017-05-23 22:26 [PATCH] net: phy: put genphy_config_init's EXPORT_SYMBOL directly after the function Uwe Kleine-König
@ 2017-05-23 22:28 ` Florian Fainelli
2017-05-25 16:48 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2017-05-23 22:28 UTC (permalink / raw)
To: Uwe Kleine-König, Andrew Lunn, David S. Miller; +Cc: netdev, kernel
On 05/23/2017 03:26 PM, Uwe Kleine-König wrote:
> 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>
--
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net: phy: put genphy_config_init's EXPORT_SYMBOL directly after the function
2017-05-23 22:26 [PATCH] net: phy: put genphy_config_init's EXPORT_SYMBOL directly after the function Uwe Kleine-König
2017-05-23 22:28 ` Florian Fainelli
@ 2017-05-25 16:48 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2017-05-25 16:48 UTC (permalink / raw)
To: u.kleine-koenig; +Cc: andrew, f.fainelli, netdev, kernel
From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed, 24 May 2017 00:26:07 +0200
> 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>
Applied to net-next, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-25 16:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-23 22:26 [PATCH] net: phy: put genphy_config_init's EXPORT_SYMBOL directly after the function Uwe Kleine-König
2017-05-23 22:28 ` Florian Fainelli
2017-05-25 16:48 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).