developer | 2aa1e64 | 2022-12-19 11:33:22 +0800 | [diff] [blame^] | 1 | From 7d95234bbc996b0fcfb9500a24b600d769f819d4 Mon Sep 17 00:00:00 2001 |
developer | 79e690d | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 2 | From: Shayne Chen <shayne.chen@mediatek.com> |
| 3 | Date: Tue, 13 Dec 2022 10:38:13 +0800 |
developer | 2aa1e64 | 2022-12-19 11:33:22 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 4002/4003] mt76: include header files for module param |
developer | 79e690d | 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 + |
| 11 | 4 files changed, 4 insertions(+) |
| 12 | |
| 13 | diff --git a/mcu.c b/mcu.c |
developer | 780b915 | 2022-12-15 14:09:45 +0800 | [diff] [blame] | 14 | index a8cafa3..fa4b054 100644 |
developer | 79e690d | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 15 | --- 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, |
| 25 | diff --git a/mt7615/mcu.c b/mt7615/mcu.c |
developer | 780b915 | 2022-12-15 14:09:45 +0800 | [diff] [blame] | 26 | index 83f3030..e917d02 100644 |
developer | 79e690d | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 27 | --- 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); |
| 37 | diff --git a/mt76_connac_mcu.c b/mt76_connac_mcu.c |
developer | 2aa1e64 | 2022-12-19 11:33:22 +0800 | [diff] [blame^] | 38 | index 14ce09e..d406013 100644 |
developer | 79e690d | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 39 | --- 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 | { |
| 49 | diff --git a/mt7915/mcu.c b/mt7915/mcu.c |
developer | 2aa1e64 | 2022-12-19 11:33:22 +0800 | [diff] [blame^] | 50 | index 387967d..88ce44f 100644 |
developer | 79e690d | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 51 | --- 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 | -- |
developer | 780b915 | 2022-12-15 14:09:45 +0800 | [diff] [blame] | 62 | 2.36.1 |
developer | 79e690d | 2022-12-13 17:05:25 +0800 | [diff] [blame] | 63 | |