aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-07-30 22:13:32 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-07-31 01:13:17 +0200
commit20e1d7002d785b35ae80cc8ac7bb19f00451ba15 (patch)
tree26036a915a4c42153d9825c1b4357615b737617d
parente554ace3fb41caff8d6b52639ee9678d10a9f769 (diff)
downloadbackports-20e1d7002d785b35ae80cc8ac7bb19f00451ba15.tar.gz
patches: Add missing include to drivers/net/wireless/ath/wcn36xx/main.c
drivers/net/wireless/ath/wcn36xx/main.c uses disable_irq(), but it misses the linux/interrupt.h include. This breaks compiling on kernel 4.14. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--patches/0013-fix-makefile-includes/wcn36xx.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/0013-fix-makefile-includes/wcn36xx.patch b/patches/0013-fix-makefile-includes/wcn36xx.patch
new file mode 100644
index 00000000..1e500ec3
--- /dev/null
+++ b/patches/0013-fix-makefile-includes/wcn36xx.patch
@@ -0,0 +1,12 @@
+linux/interrupt.h include needed for kernel 4.14
+
+--- a/drivers/net/wireless/ath/wcn36xx/main.c
++++ b/drivers/net/wireless/ath/wcn36xx/main.c
+@@ -23,6 +23,7 @@
+ #include <linux/of_device.h>
+ #include <linux/of_irq.h>
+ #include <linux/rpmsg.h>
++#include <linux/interrupt.h>
+ #include <linux/soc/qcom/smem_state.h>
+ #include <linux/soc/qcom/wcnss_ctrl.h>
+ #include <net/ipv6.h>