[PATCH 3/4] backports: Add missing include for brcmfmac

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

 



When building against kernel 4.8, 3.14 and older, brcmfmac failed
because struct sk_buff was not declared in brcmfmac/bus.h. This is used
in the brcmf_bus_ops.txdata() callback.

I do not know why this was working before.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 patches/0013-fix-makefile-includes/brcmfmac.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 patches/0013-fix-makefile-includes/brcmfmac.patch

diff --git a/patches/0013-fix-makefile-includes/brcmfmac.patch b/patches/0013-fix-makefile-includes/brcmfmac.patch
new file mode 100644
index 00000000..9147c80f
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/brcmfmac.patch
@@ -0,0 +1,13 @@
+brcmf_bus_ops.txdata() uses a paramater of type struct sk_buff which
+was not declared here when compiling against kernele 4.8 and older.
+
+--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h
++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h
+@@ -17,6 +17,7 @@
+ #ifndef BRCMFMAC_BUS_H
+ #define BRCMFMAC_BUS_H
+ 
++#include <linux/skbuff.h>
+ #include "debug.h"
+ 
+ /* IDs of the 6 default common rings of msgbuf protocol */
-- 
2.20.1

--
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