Commit eca485d2 authored by Denis Kirjanov's avatar Denis Kirjanov Committed by David S. Miller

drivers: net: convert to boolean for the mac_managed_pm flag

Signed-off-by: default avatarDennis Kirjanov <dkirjanov@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8fc4deaa
......@@ -2169,7 +2169,7 @@ static int fec_enet_mii_probe(struct net_device *ndev)
fep->link = 0;
fep->full_duplex = 0;
phy_dev->mac_managed_pm = 1;
phy_dev->mac_managed_pm = true;
phy_attached_info(phy_dev);
......
......@@ -5018,7 +5018,7 @@ static int r8169_mdio_register(struct rtl8169_private *tp)
return -EUNATCH;
}
tp->phydev->mac_managed_pm = 1;
tp->phydev->mac_managed_pm = true;
phy_support_asym_pause(tp->phydev);
......
......@@ -700,7 +700,7 @@ static int ax88772_init_phy(struct usbnet *dev)
}
phy_suspend(priv->phydev);
priv->phydev->mac_managed_pm = 1;
priv->phydev->mac_managed_pm = true;
phy_attached_info(priv->phydev);
......@@ -720,7 +720,7 @@ static int ax88772_init_phy(struct usbnet *dev)
return -ENODEV;
}
priv->phydev_int->mac_managed_pm = 1;
priv->phydev_int->mac_managed_pm = true;
phy_suspend(priv->phydev_int);
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment