net: phy: et011c: Remove incorrect PHY_POLL flags
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 13 Sep 2018 18:36:30 +0000 (11:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Sep 2018 22:31:01 +0000 (15:31 -0700)
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 <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/et1011c.c

index ab541c9..565e49e 100644 (file)
@@ -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,
 } };