diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-10-17 19:02:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-17 23:54:46 -0400 |
commit | a28205437b41a2c1333c1599ce1e8f09af7b00d6 (patch) | |
tree | 0e24b17d8670ba515af401be048a264fa2b62acd /net/dsa | |
parent | 25ef1328a03c72a7285883d5b337c4b602476ecd (diff) |
net: dsa: add includes for ethtool and phy_fixed definitions
net/dsa/slave.c uses functions and structures declared in phy_fixed.h
but does not explicitely include it, while dsa.h needs structure
declarations for 'struct ethtool_wolinfo' and 'struct ethtool_eee', fix
those by including the correct header files.
Fixes: ec9436baedb6 ("net: dsa: allow drivers to do link adjustment")
Fixes: ce31b31c68e7 ("net: dsa: allow updating fixed PHY link information")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r-- | net/dsa/slave.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c index 8030489d9cbe..a851e9f14118 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <linux/list.h> | 11 | #include <linux/list.h> |
12 | #include <linux/etherdevice.h> | 12 | #include <linux/etherdevice.h> |
13 | #include <linux/phy.h> | 13 | #include <linux/phy.h> |
14 | #include <linux/phy_fixed.h> | ||
14 | #include <linux/of_net.h> | 15 | #include <linux/of_net.h> |
15 | #include <linux/of_mdio.h> | 16 | #include <linux/of_mdio.h> |
16 | #include "dsa_priv.h" | 17 | #include "dsa_priv.h" |