Message ID | 20181202115226.3594-5-hauke@hauke-m.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | backports: Multiple fixes for kernel 4.20 | expand |
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"
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> --- patches/0013-fix-makefile-includes/mt76.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 patches/0013-fix-makefile-includes/mt76.patch