From c27e2f124d0186cc6e943bd09fe2f68a2d1276e0 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 1 Dec 2018 17:53:53 +0100 Subject: 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 --- patches/0013-fix-makefile-includes/mt76.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 patches/0013-fix-makefile-includes/mt76.patch 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 + #include ++#include + + #include "mt76x0.h" + #include "mcu.h" -- cgit v1.2.3