[PATCH 11/15] patches: add forward declaration of struct wpan_dev to cfg802154.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <hauke@xxxxxxxxxx>
---
 .../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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux