developer | c62da67 | 2022-12-26 16:10:38 +0800 | [diff] [blame] | 1 | From 6ca19bb406e52edaed41d8ea84f67e872df113a4 Mon Sep 17 00:00:00 2001 |
| 2 | From: Evelyn Tsai <evelyn.tsai@mediatek.com> |
| 3 | Date: Fri, 23 Dec 2022 17:06:03 +0800 |
| 4 | Subject: [PATCH 4003/4003] mt76: include header files for module param |
developer | aa5b1b2 | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 5 | |
| 6 | --- |
| 7 | mcu.c | 1 + |
| 8 | mt7615/mcu.c | 1 + |
| 9 | mt76_connac_mcu.c | 1 + |
| 10 | mt7915/mcu.c | 1 + |
developer | c62da67 | 2022-12-26 16:10:38 +0800 | [diff] [blame] | 11 | mt7996/mcu.c | 1 + |
| 12 | 5 files changed, 5 insertions(+) |
developer | aa5b1b2 | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 13 | |
| 14 | diff --git a/mcu.c b/mcu.c |
developer | 57c8f1a | 2022-12-15 14:09:45 +0800 | [diff] [blame] | 15 | index a8cafa3..fa4b054 100644 |
developer | aa5b1b2 | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 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, |
| 26 | diff --git a/mt7615/mcu.c b/mt7615/mcu.c |
developer | 57c8f1a | 2022-12-15 14:09:45 +0800 | [diff] [blame] | 27 | index 83f3030..e917d02 100644 |
developer | aa5b1b2 | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 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); |
| 38 | diff --git a/mt76_connac_mcu.c b/mt76_connac_mcu.c |
developer | c62da67 | 2022-12-26 16:10:38 +0800 | [diff] [blame] | 39 | index 5a047e6..b0dcc5a 100644 |
developer | aa5b1b2 | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 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 | { |
| 50 | diff --git a/mt7915/mcu.c b/mt7915/mcu.c |
developer | c62da67 | 2022-12-26 16:10:38 +0800 | [diff] [blame] | 51 | index 35441dc..56b5a24 100644 |
developer | aa5b1b2 | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 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; \ |
developer | c62da67 | 2022-12-26 16:10:38 +0800 | [diff] [blame] | 62 | diff --git a/mt7996/mcu.c b/mt7996/mcu.c |
| 63 | index 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 { |
developer | aa5b1b2 | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 74 | -- |
developer | 57c8f1a | 2022-12-15 14:09:45 +0800 | [diff] [blame] | 75 | 2.36.1 |
developer | aa5b1b2 | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 76 | |