| From 6ca19bb406e52edaed41d8ea84f67e872df113a4 Mon Sep 17 00:00:00 2001 |
| From: Evelyn Tsai <evelyn.tsai@mediatek.com> |
| Date: Fri, 23 Dec 2022 17:06:03 +0800 |
| Subject: [PATCH 4003/4003] mt76: include header files for module param |
| |
| --- |
| mcu.c | 1 + |
| mt7615/mcu.c | 1 + |
| mt76_connac_mcu.c | 1 + |
| mt7915/mcu.c | 1 + |
| mt7996/mcu.c | 1 + |
| 5 files changed, 5 insertions(+) |
| |
| diff --git a/mcu.c b/mcu.c |
| index a8cafa3..fa4b054 100644 |
| --- a/mcu.c |
| +++ b/mcu.c |
| @@ -4,6 +4,7 @@ |
| */ |
| |
| #include "mt76.h" |
| +#include <linux/moduleparam.h> |
| |
| struct sk_buff * |
| __mt76_mcu_msg_alloc(struct mt76_dev *dev, const void *data, |
| diff --git a/mt7615/mcu.c b/mt7615/mcu.c |
| index 83f3030..e917d02 100644 |
| --- a/mt7615/mcu.c |
| +++ b/mt7615/mcu.c |
| @@ -10,6 +10,7 @@ |
| #include "mcu.h" |
| #include "mac.h" |
| #include "eeprom.h" |
| +#include <linux/moduleparam.h> |
| |
| static bool prefer_offload_fw = true; |
| module_param(prefer_offload_fw, bool, 0644); |
| diff --git a/mt76_connac_mcu.c b/mt76_connac_mcu.c |
| index 5a047e6..b0dcc5a 100644 |
| --- a/mt76_connac_mcu.c |
| +++ b/mt76_connac_mcu.c |
| @@ -4,6 +4,7 @@ |
| #include <linux/firmware.h> |
| #include "mt76_connac2_mac.h" |
| #include "mt76_connac_mcu.h" |
| +#include <linux/module.h> |
| |
| int mt76_connac_mcu_start_firmware(struct mt76_dev *dev, u32 addr, u32 option) |
| { |
| diff --git a/mt7915/mcu.c b/mt7915/mcu.c |
| index 35441dc..56b5a24 100644 |
| --- a/mt7915/mcu.c |
| +++ b/mt7915/mcu.c |
| @@ -6,6 +6,7 @@ |
| #include "mcu.h" |
| #include "mac.h" |
| #include "eeprom.h" |
| +#include <linux/moduleparam.h> |
| |
| #define fw_name(_dev, name, ...) ({ \ |
| char *_fw; \ |
| diff --git a/mt7996/mcu.c b/mt7996/mcu.c |
| index d781c6e..37cf269 100644 |
| --- a/mt7996/mcu.c |
| +++ b/mt7996/mcu.c |
| @@ -8,6 +8,7 @@ |
| #include "mt7996.h" |
| #include "mcu.h" |
| #include "mac.h" |
| +#include <linux/moduleparam.h> |
| #include "eeprom.h" |
| |
| struct mt7996_patch_hdr { |
| -- |
| 2.36.1 |
| |