diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2019-03-20 18:40:07 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-03-28 00:08:17 +0100 |
commit | fe20723b5f2a3a16e5173066b4857bcc55514f1a (patch) | |
tree | 5a11b957c25fc124ff02401951fd654df2a130a1 | |
parent | 44f8b313731067ffe30ce16cff00ba816e039806 (diff) |
backports: Add missing include for brcmfmac
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@hauke-m.de>
-rw-r--r-- | patches/0013-fix-makefile-includes/brcmfmac.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 */ |