diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2018-12-01 17:53:53 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-12-06 22:54:27 +0100 |
commit | c27e2f124d0186cc6e943bd09fe2f68a2d1276e0 (patch) | |
tree | e31ffac09fcf4d4b3f079ace3b58ad5c371efcc7 | |
parent | 121b7cbd22a8a01e572892da93d8d26bfc7d9e2c (diff) |
backports: Add missing include for mt76
Without the inclusion of linux/module.h, MODULE_FIRMWARE was not
declared when compiling against some kernel versions, add it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | patches/0013-fix-makefile-includes/mt76.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/patches/0013-fix-makefile-includes/mt76.patch b/patches/0013-fix-makefile-includes/mt76.patch new file mode 100644 index 00000000..4f122c46 --- /dev/null +++ b/patches/0013-fix-makefile-includes/mt76.patch @@ -0,0 +1,10 @@ +--- a/drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c ++++ b/drivers/net/wireless/mediatek/mt76/mt76x0/usb_mcu.c +@@ -15,6 +15,7 @@ + */ + #include <linux/kernel.h> + #include <linux/firmware.h> ++#include <linux/module.h> + + #include "mt76x0.h" + #include "mcu.h" |