Normally this forward declaration is coming from netdevice.h, but it
was only added in more recent kernel versions there. This patch fixes
the build with older kernel versions.

Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de>
---
 .../network/0013-fix-makefile-includes/cfg802154.patch         | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 
patches/collateral-evolutions/network/0013-fix-makefile-includes/cfg802154.patch

diff --git 
a/patches/collateral-evolutions/network/0013-fix-makefile-includes/cfg802154.patch
 
b/patches/collateral-evolutions/network/0013-fix-makefile-includes/cfg802154.patch
new file mode 100644
index 0000000..93caa14
--- /dev/null
+++ 
b/patches/collateral-evolutions/network/0013-fix-makefile-includes/cfg802154.patch
@@ -0,0 +1,10 @@
+--- a/include/net/cfg802154.h
++++ b/include/net/cfg802154.h
+@@ -26,6 +26,7 @@
+ 
+ struct wpan_phy;
+ struct wpan_phy_cca;
++struct wpan_dev;
+ 
+ #ifdef CONFIG_IEEE802154_NL802154_EXPERIMENTAL
+ struct ieee802154_llsec_device_key;
-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in

Reply via email to