net: stmmac: replace the vlan_fail_q_en field with a flag
[platform/kernel/linux-rpi.git] / drivers / net / ethernet / stmicro / stmmac / dwmac-intel.c
index faa6f4e..1f1bc99 100644 (file)
@@ -560,7 +560,7 @@ static int intel_mgbe_common_data(struct pci_dev *pdev,
        /* Set the maxmtu to a default of JUMBO_LEN */
        plat->maxmtu = JUMBO_LEN;
 
-       plat->vlan_fail_q_en = true;
+       plat->flags |= STMMAC_FLAG_VLAN_FAIL_Q_EN;
 
        /* Use the last Rx queue */
        plat->vlan_fail_q = plat->rx_queues_to_use - 1;