brcm47xx: drop 3.14
[openwrt.git] / target / linux / generic / patches-3.14 / 704-phy-no-genphy-soft-reset.patch
1 --- a/drivers/net/phy/phy_device.c
2 +++ b/drivers/net/phy/phy_device.c
3 @@ -1102,7 +1102,7 @@ static int genphy_config_init(struct phy
4         return 0;
5  }
6  
7 -static int gen10g_soft_reset(struct phy_device *phydev)
8 +static int no_soft_reset(struct phy_device *phydev)
9  {
10         /* Do nothing for now */
11         return 0;
12 @@ -1282,7 +1282,7 @@ static struct phy_driver genphy_driver[]
13         .phy_id         = 0xffffffff,
14         .phy_id_mask    = 0xffffffff,
15         .name           = "Generic PHY",
16 -       .soft_reset     = genphy_soft_reset,
17 +       .soft_reset     = no_soft_reset,
18         .config_init    = genphy_config_init,
19         .features       = 0,
20         .config_aneg    = genphy_config_aneg,
21 @@ -1294,7 +1294,7 @@ static struct phy_driver genphy_driver[]
22         .phy_id         = 0xffffffff,
23         .phy_id_mask    = 0xffffffff,
24         .name           = "Generic 10G PHY",
25 -       .soft_reset     = gen10g_soft_reset,
26 +       .soft_reset     = no_soft_reset,
27         .config_init    = gen10g_config_init,
28         .features       = 0,
29         .config_aneg    = gen10g_config_aneg,