From fe20723b5f2a3a16e5173066b4857bcc55514f1a Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 20 Mar 2019 18:40:07 +0100 Subject: 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 --- 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 + #include "debug.h" + + /* IDs of the 6 default common rings of msgbuf protocol */ -- cgit v1.2.3