diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-11-09 20:17:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-11 20:36:56 +0300 |
commit | a4307c0ec66131e722a8fa0f1da09646c46ee924 (patch) | |
tree | dee28465b4a5bfe7089cb9d6a21910ba71fd54a3 /drivers/net/phy/amd.c | |
parent | 0d2e778e38e0ddffab4bb2b0e9ed2ad5165c4bf7 (diff) | |
download | linux-a4307c0ec66131e722a8fa0f1da09646c46ee924.tar.xz |
net: phy: remove flag PHY_HAS_INTERRUPT from driver configs
Now that flag PHY_HAS_INTERRUPT has been replaced with a check for
callbacks config_intr and ack_interrupt, we can remove setting this
flag from all driver configs.
Last but not least remove flag PHY_HAS_INTERRUPT completely.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/amd.c')
-rw-r--r-- | drivers/net/phy/amd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/amd.c b/drivers/net/phy/amd.c index 6fe5dc9201d0..9d0504f3e3b2 100644 --- a/drivers/net/phy/amd.c +++ b/drivers/net/phy/amd.c @@ -66,7 +66,6 @@ static struct phy_driver am79c_driver[] = { { .name = "AM79C874", .phy_id_mask = 0xfffffff0, .features = PHY_BASIC_FEATURES, - .flags = PHY_HAS_INTERRUPT, .config_init = am79c_config_init, .ack_interrupt = am79c_ack_interrupt, .config_intr = am79c_config_intr, |