OpenCloudOS-Kernel/drivers/net/ieee802154
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
..
Kconfig ieee802154/adf7242: Driver for ADF7242 MAC IEEE802154 2015-12-11 11:27:22 +01:00
Makefile ieee802154/adf7242: Driver for ADF7242 MAC IEEE802154 2015-12-11 11:27:22 +01:00
adf7242.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-11-26 23:42:21 -05:00
at86rf230.c at86rf230: Allow slow GPIO pins for "rstn" 2017-01-12 22:12:43 +01:00
at86rf230.h at86rf230: add debugfs support 2015-09-17 13:20:05 +02:00
atusb.c ieee802154: atusb: fix driver to work with older firmware versions 2017-01-12 22:12:43 +01:00
atusb.h ieee802154: atusb: sync header file from firmware for new features 2016-12-08 07:43:29 +01:00
cc2520.c ieee802154: cc2520: Check CRC & add promiscuous 2016-01-03 09:17:42 +01:00
fakelb.c ieee802154: fakelb: print number of created fake devices during probe 2016-11-30 12:33:07 +01:00
mrf24j40.c net: break include loop netdevice.h, dsa.h, devlink.h 2017-03-28 22:46:04 -07:00