diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-10-16 12:18:41 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-07-07 16:12:14 +0100 |
commit | f6e45201064ce220d35b1a70c4048f88785a4ed5 (patch) | |
tree | b7f611821856bfd7db5f879ed57048a0af0392fe | |
parent | eeb4c838b94958a77f6fa1339e051a23c4941e9f (diff) |
net: phy: export phy_start_machine() for phylink
phylink will need phy_start_machine exported, so lets export it as a
GPL symbol. Documentation/networking/phy.txt indicates that this
should be a PHY API function.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/net/phy/phy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index f089dc93c6c7..1defa0771e81 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -576,6 +576,7 @@ void phy_start_machine(struct phy_device *phydev) { queue_delayed_work(system_power_efficient_wq, &phydev->state_queue, HZ); } +EXPORT_SYMBOL_GPL(phy_start_machine); /** * phy_trigger_machine - trigger the state machine to run |