blob: 6fc5e0b44fe16aa57f7e680b51b2e83b23afa0ff [file] [log] [blame]
developere5c01a42022-12-23 18:17:33 +08001From 6ca19bb406e52edaed41d8ea84f67e872df113a4 Mon Sep 17 00:00:00 2001
2From: Evelyn Tsai <evelyn.tsai@mediatek.com>
3Date: Fri, 23 Dec 2022 17:06:03 +0800
4Subject: [PATCH 4003/4003] mt76: include header files for module param
5
6---
7 mcu.c | 1 +
8 mt7615/mcu.c | 1 +
9 mt76_connac_mcu.c | 1 +
10 mt7915/mcu.c | 1 +
11 mt7996/mcu.c | 1 +
12 5 files changed, 5 insertions(+)
13
14diff --git a/mcu.c b/mcu.c
15index a8cafa3..fa4b054 100644
16--- a/mcu.c
17+++ b/mcu.c
18@@ -4,6 +4,7 @@
19 */
20
21 #include "mt76.h"
22+#include <linux/moduleparam.h>
23
24 struct sk_buff *
25 __mt76_mcu_msg_alloc(struct mt76_dev *dev, const void *data,
26diff --git a/mt7615/mcu.c b/mt7615/mcu.c
27index 83f3030..e917d02 100644
28--- a/mt7615/mcu.c
29+++ b/mt7615/mcu.c
30@@ -10,6 +10,7 @@
31 #include "mcu.h"
32 #include "mac.h"
33 #include "eeprom.h"
34+#include <linux/moduleparam.h>
35
36 static bool prefer_offload_fw = true;
37 module_param(prefer_offload_fw, bool, 0644);
38diff --git a/mt76_connac_mcu.c b/mt76_connac_mcu.c
39index 5a047e6..b0dcc5a 100644
40--- a/mt76_connac_mcu.c
41+++ b/mt76_connac_mcu.c
42@@ -4,6 +4,7 @@
43 #include <linux/firmware.h>
44 #include "mt76_connac2_mac.h"
45 #include "mt76_connac_mcu.h"
46+#include <linux/module.h>
47
48 int mt76_connac_mcu_start_firmware(struct mt76_dev *dev, u32 addr, u32 option)
49 {
50diff --git a/mt7915/mcu.c b/mt7915/mcu.c
51index 35441dc..56b5a24 100644
52--- a/mt7915/mcu.c
53+++ b/mt7915/mcu.c
54@@ -6,6 +6,7 @@
55 #include "mcu.h"
56 #include "mac.h"
57 #include "eeprom.h"
58+#include <linux/moduleparam.h>
59
60 #define fw_name(_dev, name, ...) ({ \
61 char *_fw; \
62diff --git a/mt7996/mcu.c b/mt7996/mcu.c
63index d781c6e..37cf269 100644
64--- a/mt7996/mcu.c
65+++ b/mt7996/mcu.c
66@@ -8,6 +8,7 @@
67 #include "mt7996.h"
68 #include "mcu.h"
69 #include "mac.h"
70+#include <linux/moduleparam.h>
71 #include "eeprom.h"
72
73 struct mt7996_patch_hdr {
74--
752.36.1
76