diff options
author | Vivien Didelot | 2017-08-01 16:32:38 -0400 |
---|---|---|
committer | David S. Miller | 2017-08-01 20:09:10 -0700 |
commit | c48f7eb3021c993cfb15ee4963df2fd6683c2f0d (patch) | |
tree | ad6033802a725c8e21bc774f5570aea6fb6b9e6e /drivers/net/dsa/qca8k.h | |
parent | 7f5c6d7cdda7b67b11659cb5d2cfbaf5210d2fa8 (diff) |
net: dsa: call phy_init_eee in DSA layer
All DSA drivers are calling phy_init_eee if eee_enabled is true.
Move up this statement in the DSA layer to simplify the DSA drivers.
qca8k does not require to cache the ethtool_eee structures from now on.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/qca8k.h')
-rw-r--r-- | drivers/net/dsa/qca8k.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/qca8k.h b/drivers/net/dsa/qca8k.h index 1ed4fac6cd6d..1cf8a920d4ff 100644 --- a/drivers/net/dsa/qca8k.h +++ b/drivers/net/dsa/qca8k.h @@ -156,7 +156,6 @@ enum qca8k_fdb_cmd { }; struct ar8xxx_port_status { - struct ethtool_eee eee; int enabled; }; |