]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: add includes for ethtool and phy_fixed definitions
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 17 Oct 2014 23:02:13 +0000 (16:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Oct 2014 03:54:46 +0000 (23:54 -0400)
commitac6f4da3f9d477cf9e653525b881e8265c95c17f
tree0e24b17d8670ba515af401be048a264fa2b62acd
parent60cbfbd80a827f0f1b024e82d9fae40798e98950
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: 885f7143c488 ("net: dsa: allow drivers to do link adjustment")
Fixes: a663edee7c5f ("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>
include/net/dsa.h
net/dsa/slave.c