diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-07-30 21:07:21 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-07-31 01:13:17 +0200 |
commit | e554ace3fb41caff8d6b52639ee9678d10a9f769 (patch) | |
tree | 9dd0b35123e4a151c5787751991a41236f24de0a | |
parent | 966cd6757a2541a157ce4a585eec71937a475e05 (diff) | |
download | backports-e554ace3fb41caff8d6b52639ee9678d10a9f769.tar.gz |
patches: Add missing include to net/wireless/reg.c
net/wireless/reg.c uses MODULE_FIRMWARE() now, but it misses the
linux/module.h include. This breaks compiling on kernel 4.11 to 5.5.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | patches/0013-fix-makefile-includes/wireless.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/0013-fix-makefile-includes/wireless.patch b/patches/0013-fix-makefile-includes/wireless.patch new file mode 100644 index 00000000..91bddf54 --- /dev/null +++ b/patches/0013-fix-makefile-includes/wireless.patch @@ -0,0 +1,12 @@ +linux/module.h include needed for 4.11 till 5.5 + +--- a/net/wireless/reg.c ++++ b/net/wireless/reg.c +@@ -57,6 +57,7 @@ + #include <linux/verification.h> + #include <linux/moduleparam.h> + #include <linux/firmware.h> ++#include <linux/module.h> + #include <net/cfg80211.h> + #include "core.h" + #include "reg.h" |