e842e16f45
- Refresh all patches - Removed upstreamed - Adapted 1 Compile tested on: bcm53xx, cns3xxx, imx6, lantiq Run tested on: cns3xxx & imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> [update from 4.9.28 to 4.9.29] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
22 lines
734 B
Diff
22 lines
734 B
Diff
From: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
Date: Fri, 16 Oct 2015 12:18:41 +0100
|
|
Subject: [PATCH] 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>
|
|
---
|
|
|
|
--- a/drivers/net/phy/phy.c
|
|
+++ b/drivers/net/phy/phy.c
|
|
@@ -612,6 +612,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
|