kernel: add missing config symbol
[15.05/openwrt.git] / target / linux / generic / patches-3.18 / 704-phy-no-genphy-soft-reset.patch
1 --- a/drivers/net/phy/phy_device.c
2 +++ b/drivers/net/phy/phy_device.c
3 @@ -1132,7 +1132,7 @@ int genphy_config_init(struct phy_device
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 @@ -1346,7 +1346,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       = PHY_GBIT_FEATURES | SUPPORTED_MII |
20                           SUPPORTED_AUI | SUPPORTED_FIBRE |
21 @@ -1361,7 +1361,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,