blob: 0dac952ccacabd65d75a7c2ce3d94e893a5801f5 [file] [log] [blame]
developer1346ce52022-12-15 21:36:14 +08001From 41cc950cb93f75c1b037710cc3058b96514a3352 Mon Sep 17 00:00:00 2001
developereb6a0182022-12-12 18:53:32 +08002From: Shayne Chen <shayne.chen@mediatek.com>
3Date: Tue, 13 Dec 2022 10:38:13 +0800
4Subject: [PATCH 4001/4002] 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 4 files changed, 4 insertions(+)
12
13diff --git a/mcu.c b/mcu.c
developer9851a292022-12-15 17:33:43 +080014index a8cafa39..fa4b0544 100644
developereb6a0182022-12-12 18:53:32 +080015--- a/mcu.c
16+++ b/mcu.c
17@@ -4,6 +4,7 @@
18 */
19
20 #include "mt76.h"
21+#include <linux/moduleparam.h>
22
23 struct sk_buff *
24 __mt76_mcu_msg_alloc(struct mt76_dev *dev, const void *data,
25diff --git a/mt7615/mcu.c b/mt7615/mcu.c
developer9851a292022-12-15 17:33:43 +080026index 83f30305..e917d025 100644
developereb6a0182022-12-12 18:53:32 +080027--- a/mt7615/mcu.c
28+++ b/mt7615/mcu.c
29@@ -10,6 +10,7 @@
30 #include "mcu.h"
31 #include "mac.h"
32 #include "eeprom.h"
33+#include <linux/moduleparam.h>
34
35 static bool prefer_offload_fw = true;
36 module_param(prefer_offload_fw, bool, 0644);
37diff --git a/mt76_connac_mcu.c b/mt76_connac_mcu.c
developer1346ce52022-12-15 21:36:14 +080038index 14ce09e..d406013 100644
developereb6a0182022-12-12 18:53:32 +080039--- a/mt76_connac_mcu.c
40+++ b/mt76_connac_mcu.c
41@@ -4,6 +4,7 @@
42 #include <linux/firmware.h>
43 #include "mt76_connac2_mac.h"
44 #include "mt76_connac_mcu.h"
45+#include <linux/module.h>
46
47 int mt76_connac_mcu_start_firmware(struct mt76_dev *dev, u32 addr, u32 option)
48 {
49diff --git a/mt7915/mcu.c b/mt7915/mcu.c
developer1346ce52022-12-15 21:36:14 +080050index 4185961..0ba822d 100644
developereb6a0182022-12-12 18:53:32 +080051--- a/mt7915/mcu.c
52+++ b/mt7915/mcu.c
53@@ -6,6 +6,7 @@
54 #include "mcu.h"
55 #include "mac.h"
56 #include "eeprom.h"
57+#include <linux/moduleparam.h>
58
59 #define fw_name(_dev, name, ...) ({ \
60 char *_fw; \
61--
developer9851a292022-12-15 17:33:43 +0800622.18.0
developereb6a0182022-12-12 18:53:32 +080063