]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - drivers/net/ethernet/xscale/ixp4xx_eth.c
net: phy: remove flags argument from phy_{attach, connect, connect_direct}
[mirror_ubuntu-focal-kernel.git] / drivers / net / ethernet / xscale / ixp4xx_eth.c
index a4be1ad886c50981f7ae1ab24d0e6aa7f7b1c414..6958a5e87703bb3625b917bcdecfe8a7ef50e7e9 100644 (file)
@@ -1451,7 +1451,7 @@ static int eth_init_one(struct platform_device *pdev)
 
        snprintf(phy_id, MII_BUS_ID_SIZE + 3, PHY_ID_FMT,
                mdio_bus->id, plat->phy);
-       port->phydev = phy_connect(dev, phy_id, &ixp4xx_adjust_link, 0,
+       port->phydev = phy_connect(dev, phy_id, &ixp4xx_adjust_link,
                                   PHY_INTERFACE_MODE_MII);
        if (IS_ERR(port->phydev)) {
                err = PTR_ERR(port->phydev);