net: phy: export phy_suspend and phy_resume
Subsystems (3)
PATCH 1/1 net: phy: export phy_suspend and phy_resume
phy_suspend and phy_resume are two commonly used helper functions that need to be exported for Ethernet drivers to be built as modules
--- drivers/net/phy/phy_device.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/phy/phy_device.c +2 -0
@@ -696,6 +696,7 @@ int phy_suspend(struct phy_device *phydev)return phydrv->suspend (phydev);return 0 ; } +EXPORT_SYMBOL (phy_suspend);int phy_resume (struct phy_device *phydev) {
@@ -705,6 +706,7 @@ int phy_resume(struct phy_device *phydev)return phydrv->resume (phydev);return 0 ; } +EXPORT_SYMBOL (phy_resume);/* Generic PHY support and helper functions */
Signature · 1 line
1.9.1
David Miller
maintainerFrom: Florian Fainelli <[email protected]>
Date: Tue, 8 Jul 2014 10:38:36 -0700
Quoted 5 lines
phy_suspendandphy_resumeare two commonly used helper functions that need to be exported for Ethernet drivers to be built as modulesFixes 40755a0fce17 ("net: systemport: add suspend and resume support")Signed-off-by Florian Fainelli <[email protected]>
First of all, the commit in question went into 'net' not 'net-next'.
Second of all, I reverted it.
So this patch is not appropriate unless/until that commit gets re-added, and it's not targetted at the proper tree anyways.
2014-07-08 20:37 GMT-07:00 David Miller <[email protected]>:
Quoted 10 lines
From: Florian Fainelli <[email protected]>
Date: Tue, 8 Jul 2014 10:38:36 -0700Quoted 5 lines
phy_suspendandphy_resumeare two commonly used helper functions that need to be exported for Ethernet drivers to be built as modulesFixes 40755a0fce17 ("net: systemport: add suspend and resume support")Signed-off-by Florian Fainelli <[email protected]>First of all, the commit in question went into 'net' not 'net-next'.
I am confused now, because I sent the patches against net-next and still see them in your net-next tree here:
Quoted 2 lines
Second of all, I reverted it.
I remember you replied to Vince about his patches which also depended on phy_suspend/resume to be there and you did revert his changes.
Quoted 3 lines
So this patch is not appropriate unless/until that commit gets re-added, and it's not targetted at the proper tree anyways.
Signature · 1 line
Florian
David Miller
maintainerFrom: Florian Fainelli <[email protected]>
Date: Tue, 8 Jul 2014 20:59:47 -0700
Quoted 15 lines
2014-07-08 20:37 GMT-07:00 David Miller <[email protected]>:
Quoted 10 lines
From: Florian Fainelli <[email protected]>
Date: Tue, 8 Jul 2014 10:38:36 -0700Quoted 5 lines
phy_suspendandphy_resumeare two commonly used helper functions that need to be exported for Ethernet drivers to be built as modulesFixes 40755a0fce17 ("net: systemport: add suspend and resume support")Signed-off-by Florian Fainelli <[email protected]>First of all, the commit in question went into 'net' not 'net-next'.
I am confused now, because I sent the patches against net-next and still see them in your net-next tree here:
Quoted 7 lines
Quoted 2 lines
Second of all, I reverted it.
I remember you replied to Vince about his patches which also depended on phy_suspend/resume to be there and you did revert his changes.
Indeed, I confused your and Vince's patches. Sorry about that.
I'll apply your patch to net-next, thanks.