summaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorFlorian Fainelli2014-10-18 01:02:13 +0200
committerDavid S. Miller2014-10-18 05:54:46 +0200
commita28205437b41a2c1333c1599ce1e8f09af7b00d6 (patch)
tree0e24b17d8670ba515af401be048a264fa2b62acd /include/net/dsa.h
parentopenvswitch: Set flow-key members. (diff)
downloadkernel-qcow2-linux-a28205437b41a2c1333c1599ce1e8f09af7b00d6.tar.gz
kernel-qcow2-linux-a28205437b41a2c1333c1599ce1e8f09af7b00d6.tar.xz
kernel-qcow2-linux-a28205437b41a2c1333c1599ce1e8f09af7b00d6.zip
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 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 58ad8c6492db..b76559293535 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -18,6 +18,7 @@
#include <linux/of.h>
#include <linux/phy.h>
#include <linux/phy_fixed.h>
+#include <linux/ethtool.h>
enum dsa_tag_protocol {
DSA_TAG_PROTO_NONE = 0,