blob: f12e909b670850ce8cc4b1c92cfe2faacc59bf23 [file] [log] [blame]
developer7af62e72022-12-26 16:10:38 +08001From 1430e7a7a3d5ae7693d6fa8e795524ee4c78c0ef Mon Sep 17 00:00:00 2001
2From: Shayne Chen <shayne.chen@mediatek.com>
3Date: Mon, 7 Nov 2022 23:05:51 +0800
4Subject: [PATCH] mt76: add internal wed_tiny header file
5
6To prevent build fail of WED related parts.
7
8Change-Id: I907cae30e0775337a0c670010b450be15b510e18
9---
10diff --git a/mt7915/mmio.c b/mt7915/mmio.c
11index 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");