kernel: bump kernel 4.4 to 4.4.129 for 17.01
[openwrt/openwrt.git] / target / linux / mvebu / patches-4.4 / 127-phy-export-phy_start_machine-for-phylink.patch
1 From f2a9687b39cda3fb67ecd5eaa88e3545e78c982c Mon Sep 17 00:00:00 2001
2 From: Russell King <rmk+kernel@arm.linux.org.uk>
3 Date: Fri, 16 Oct 2015 12:18:41 +0100
4 Subject: [PATCH 715/744] phy: export phy_start_machine() for phylink
5
6 phylink will need phy_start_machine exported, so lets export it as a
7 GPL symbol. Documentation/networking/phy.txt indicates that this
8 should be a PHY API function.
9
10 Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
11 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
12 ---
13 drivers/net/phy/phy.c | 1 +
14 1 file changed, 1 insertion(+)
15
16 --- a/drivers/net/phy/phy.c
17 +++ b/drivers/net/phy/phy.c
18 @@ -574,6 +574,7 @@ void phy_start_machine(struct phy_device
19 {
20 queue_delayed_work(system_power_efficient_wq, &phydev->state_queue, HZ);
21 }
22 +EXPORT_SYMBOL_GPL(phy_start_machine);
23
24 /**
25 * phy_stop_machine - stop the PHY state machine tracking