Blob Blame History Raw
From: Russell King <rmk+kernel@arm.linux.org.uk>
Date: Tue, 25 Jul 2017 15:03:03 +0100
Subject: net: phy: export phy_start_machine() for phylink
Patch-mainline: v4.14-rc1
Git-commit: 5e5758d9d84256d55da831e940276c3216997f3e
References: bsc#1119113 FATE#326472

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
 drivers/net/phy/phy.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -556,6 +556,7 @@ void phy_start_machine(struct phy_device
 {
 	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