developer | 7af62e7 | 2022-12-26 16:10:38 +0800 | [diff] [blame] | 1 | From 1430e7a7a3d5ae7693d6fa8e795524ee4c78c0ef Mon Sep 17 00:00:00 2001 |
| 2 | From: Shayne Chen <shayne.chen@mediatek.com> |
| 3 | Date: Mon, 7 Nov 2022 23:05:51 +0800 |
| 4 | Subject: [PATCH] mt76: add internal wed_tiny header file |
| 5 | |
| 6 | To prevent build fail of WED related parts. |
| 7 | |
| 8 | Change-Id: I907cae30e0775337a0c670010b450be15b510e18 |
| 9 | --- |
| 10 | diff --git a/mt7915/mmio.c b/mt7915/mmio.c |
| 11 | index e30a8d4c..57c56918 100644 |
| 12 | --- a/mt7915/mmio.c |
| 13 | +++ b/mt7915/mmio.c |
| 14 | @@ -11,7 +11,11 @@ |
| 15 | #include "../trace.h" |
| 16 | #include "../dma.h" |
| 17 | |
| 18 | +#ifdef CONFIG_NET_MEDIATEK_SOC_WED |
| 19 | static bool wed_enable = true; |
| 20 | +#else |
| 21 | +static bool wed_enable; |
| 22 | +#endif |
| 23 | module_param(wed_enable, bool, 0644); |
| 24 | MODULE_PARM_DESC(wed_enable, "Enable Wireless Ethernet Dispatch support"); |