[PATCH 04/12] backports: Add missing include for mt76

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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 <linux/kernel.h>
+ #include <linux/firmware.h>
++#include <linux/module.h>
+ 
+ #include "mt76x0.h"
+ #include "mcu.h"
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux