net: phy: et011c: Remove incorrect PHY_POLL flags
Subsystems (3)
PATCH 1/1 net: phy: et011c: Remove incorrect PHY_POLL flags
PHY_POLL is defined as -1 which means that we would be setting all flags of the PHY driver, this is also not a valid flag to tell PHYLIB about, just remove it.
Signed-off-by Florian Fainelli <[email protected]>
--- drivers/net/phy/et1011c.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/phy/et1011c.c +0 -1
@@ -92,7 +92,6 @@ static struct phy_driver et1011c_driver[] = { { .name = "ET1011C", .phy_id_mask = 0xfffffff0, .features = PHY_GBIT_FEATURES, - .flags = PHY_POLL, .config_aneg = et1011c_config_aneg, .read_status = et1011c_read_status, } };
Signature · 1 line
2.17.1
Quoted 4 lines · Florian Fainelli
PHY_POLLis defined as -1 which means that we would be setting all flags of the PHY driver, this is also not a valid flag to tell PHYLIB about, just remove it.Signed-off-by Florian Fainelli <[email protected]>
Reviewed-by Andrew Lunn <[email protected]>
Andrew
From: Florian Fainelli <[email protected]>
Date: Thu, 13 Sep 2018 11:36:30 -0700
Quoted 4 lines
PHY_POLLis defined as -1 which means that we would be setting all flags of the PHY driver, this is also not a valid flag to tell PHYLIB about, just remove it.Signed-off-by Florian Fainelli <[email protected]>
Applied.