diff options
author | Andrew Lunn <andrew@lunn.ch> | 2017-05-16 18:29:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-16 15:58:18 -0400 |
commit | 1b86f702f80de32d555519e2c4c61385faeab710 (patch) | |
tree | fd4e77df4fb1297ca221745d16205811a863b0f8 /include/linux/phy.h | |
parent | 3fdd34c18e93d4a2d7609955d2e6f122e21216e1 (diff) | |
download | linux-stable-1b86f702f80de32d555519e2c4c61385faeab710.tar.gz linux-stable-1b86f702f80de32d555519e2c4c61385faeab710.tar.bz2 linux-stable-1b86f702f80de32d555519e2c4c61385faeab710.zip |
net: phy: Remove residual magic from PHY drivers
commit fa8cddaf903c ("net phylib: Remove unnecessary condition check in phy")
removed the only place where the PHY flag PHY_HAS_MAGICANEG was
checked. But it left the flag being set in the drivers. Remove the flag.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index e76e4adbc7c7..54ef45823fc1 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -58,8 +58,7 @@ #define PHY_IGNORE_INTERRUPT -2 #define PHY_HAS_INTERRUPT 0x00000001 -#define PHY_HAS_MAGICANEG 0x00000002 -#define PHY_IS_INTERNAL 0x00000004 +#define PHY_IS_INTERNAL 0x00000002 #define MDIO_DEVICE_IS_PHY 0x80000000 /* Interface Mode definitions */ |