lkml.org 
[lkml]   [2018]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mt76: MT76x0U requires MT76_USB
Date
If we're building MT76x0U, we must select MT76_USB. Otherwise,
compilation fails because of undefined references.

MT76x2U already does this correctly, fix it for MT76x0U as well.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
drivers/net/wireless/mediatek/mt76/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig
index 6a270e759006..cec977b81305 100644
--- a/drivers/net/wireless/mediatek/mt76/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/Kconfig
@@ -17,6 +17,7 @@ config MT76x2_COMMON
config MT76x0U
tristate "MediaTek MT76x0U (USB) support"
select MT76_CORE
+ select MT76_USB
depends on MAC80211
depends on USB
select MT76x02_LIB
--
2.1.4
\
 
 \ /
  Last update: 2018-09-06 15:07    [W:0.944 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site