File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2169,7 +2169,7 @@ static int fec_enet_mii_probe(struct net_device *ndev)
21692169 fep -> link = 0 ;
21702170 fep -> full_duplex = 0 ;
21712171
2172- phy_dev -> mac_managed_pm = 1 ;
2172+ phy_dev -> mac_managed_pm = true ;
21732173
21742174 phy_attached_info (phy_dev );
21752175
Original file line number Diff line number Diff line change @@ -5018,7 +5018,7 @@ static int r8169_mdio_register(struct rtl8169_private *tp)
50185018 return - EUNATCH ;
50195019 }
50205020
5021- tp -> phydev -> mac_managed_pm = 1 ;
5021+ tp -> phydev -> mac_managed_pm = true ;
50225022
50235023 phy_support_asym_pause (tp -> phydev );
50245024
Original file line number Diff line number Diff line change @@ -700,7 +700,7 @@ static int ax88772_init_phy(struct usbnet *dev)
700700 }
701701
702702 phy_suspend (priv -> phydev );
703- priv -> phydev -> mac_managed_pm = 1 ;
703+ priv -> phydev -> mac_managed_pm = true ;
704704
705705 phy_attached_info (priv -> phydev );
706706
@@ -720,7 +720,7 @@ static int ax88772_init_phy(struct usbnet *dev)
720720 return - ENODEV ;
721721 }
722722
723- priv -> phydev_int -> mac_managed_pm = 1 ;
723+ priv -> phydev_int -> mac_managed_pm = true ;
724724 phy_suspend (priv -> phydev_int );
725725
726726 return 0 ;
You can’t perform that action at this time.
0 commit comments