net: stmmac: replace the serdes_up_after_phy_linkup field with a flag
[platform/kernel/linux-rpi.git] / drivers / net / ethernet / stmicro / stmmac / dwmac-tegra.c
index 5e8aa03..99e2e5a 100644 (file)
@@ -337,7 +337,7 @@ static int tegra_mgbe_probe(struct platform_device *pdev)
        /* Program SID */
        writel(MGBE_SID, mgbe->hv + MGBE_WRAP_AXI_ASID0_CTRL);
 
-       plat->serdes_up_after_phy_linkup = 1;
+       plat->flags |= STMMAC_FLAG_SERDES_UP_AFTER_PHY_LINKUP;
 
        err = stmmac_dvr_probe(&pdev->dev, plat, &res);
        if (err < 0)