Andrew Lunn c6e970a04b net: break include loop netdevice.h, dsa.h, devlink.h
There is an include loop between netdevice.h, dsa.h, devlink.h because
of NETDEV_ALIGN, making it impossible to use devlink structures in
dsa.h.

Break this loop by taking dsa.h out of netdevice.h, add a forward
declaration of dsa_switch_tree and netdev_set_default_ethtool_ops()
function, which is what netdevice.h requires.

No longer having dsa.h in netdevice.h means the includes in dsa.h no
longer get included. This breaks a few other files which depend on
these includes. Add these directly in the affected file.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-28 22:46:04 -07:00
..
2016-10-13 19:48:11 -05:00
2017-03-02 23:11:54 -06:00
2017-03-02 23:13:37 -06:00
2017-03-02 23:13:37 -06:00
2017-03-02 23:11:54 -06:00
2013-11-08 05:57:46 +09:00
2016-12-02 16:04:33 -08:00
2016-12-15 00:21:37 -06:00
2014-12-14 14:55:57 -06:00
2017-01-14 14:58:29 -06:00
2017-03-02 23:13:37 -06:00
2017-03-02 23:13:37 -06:00
2017-03-02 23:13:37 -06:00
2017-03-02 23:13:37 -06:00
2012-07-24 10:25:13 -05:00
2017-02-01 16:46:36 -06:00
2013-09-08 14:54:24 -05:00