aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-11-07 15:12:18 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2020-12-05 21:24:52 +0100
commit15f348f692e3fcd05bc8fcd02c72778735187c63 (patch)
treeeff2c603a18ccf9be03ef1644f9c3b9c43741723
parentd8ce2ddfcf0d653f04a9002cb0955aa2d3d74c13 (diff)
downloadbackports-15f348f692e3fcd05bc8fcd02c72778735187c63.tar.gz
patches: Add include to rtw88
On kernel 3.18 the rtw88 needs linux/module.h to compile. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--patches/0013-fix-makefile-includes/rtw88.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/0013-fix-makefile-includes/rtw88.patch b/patches/0013-fix-makefile-includes/rtw88.patch
index 62aac393..961ef25c 100644
--- a/patches/0013-fix-makefile-includes/rtw88.patch
+++ b/patches/0013-fix-makefile-includes/rtw88.patch
@@ -1,3 +1,5 @@
+linux/module.h include needed for kernel 3.18
+
--- a/drivers/net/wireless/realtek/rtw88/main.c
+++ b/drivers/net/wireless/realtek/rtw88/main.c
@@ -15,6 +15,7 @@
@@ -8,3 +10,13 @@
unsigned int rtw_fw_lps_deep_mode;
EXPORT_SYMBOL(rtw_fw_lps_deep_mode);
+--- a/drivers/net/wireless/realtek/rtw88/rtw8821c.c
++++ b/drivers/net/wireless/realtek/rtw88/rtw8821c.c
+@@ -14,6 +14,7 @@
+ #include "reg.h"
+ #include "debug.h"
+ #include "bf.h"
++#include <linux/module.h>
+
+ static void rtw8821ce_efuse_parsing(struct rtw_efuse *efuse,
+ struct rtw8821c_efuse *map)