summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/qca8k.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-08-01 22:32:38 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-02 05:09:10 +0200
commitc48f7eb3021c993cfb15ee4963df2fd6683c2f0d (patch)
treead6033802a725c8e21bc774f5570aea6fb6b9e6e /drivers/net/dsa/qca8k.h
parentnet: dsa: mv88e6xxx: call phy_init_eee (diff)
downloadlinux-c48f7eb3021c993cfb15ee4963df2fd6683c2f0d.tar.xz
linux-c48f7eb3021c993cfb15ee4963df2fd6683c2f0d.zip
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.h1
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;
};