[PATCH] mt76x0: build driver only as module

From: Stanislaw Gruszka
Date: Fri Aug 03 2018 - 05:14:05 EST


There are various symbols that conflicts with mt7601u.
Due to that kernel will not build with allyesconfig.
For now limit the driver to be build only as module.

Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx>
---
drivers/net/wireless/mediatek/mt76/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig
index 850611ad347a..2f25af9a08df 100644
--- a/drivers/net/wireless/mediatek/mt76/Kconfig
+++ b/drivers/net/wireless/mediatek/mt76/Kconfig
@@ -11,7 +11,7 @@ config MT76x2_COMMON

config MT76x0U
tristate "MediaTek MT76x0U (USB) support"
- depends on MAC80211
+ depends on MAC80211 && m
depends on USB
help
This adds support for MT7610U-based wireless USB dongles.
--
2.7.5