net: phy: export phy_suspend and phy_resume
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 8 Jul 2014 17:38:36 +0000 (10:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2014 04:06:50 +0000 (21:06 -0700)
phy_suspend and phy_resume are two commonly used helper functions that
need to be exported for Ethernet drivers to be built as modules

Fixes: 40755a0fce17 ("net: systemport: add suspend and resume support")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c

index 35d753d22f78b91d643548029df5b2e6eea64d49..4f4568ef124e4662350c27196092585d46915501 100644 (file)
@@ -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 */