[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-backports
Subject: [PATCH 18/30] patches: Add include to rtw88
From: Hauke Mehrtens <hauke () hauke-m ! de>
Date: 2020-12-01 22:04:03
Message-ID: 20201201220415.30582-19-hauke () hauke-m ! de
[Download RAW message or body]
On kernel 3.18 the rtw88 needs linux/module.h to compile.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
patches/0013-fix-makefile-includes/rtw88.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
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)
--
2.20.1
--
To unsubscribe from this list: send the line "unsubscribe backports" in
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic