linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mt76: MT76x0U requires MT76_USB
@ 2018-09-06 13:06 Martin Kaiser
  2018-09-11 14:37 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Kaiser @ 2018-09-06 13:06 UTC (permalink / raw)
  To: Kalle Valo, Matthias Brugger, Valdis Kletnieks
  Cc: linux-mediatek, linux-kernel, Martin Kaiser

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mt76: MT76x0U requires MT76_USB
  2018-09-06 13:06 [PATCH] mt76: MT76x0U requires MT76_USB Martin Kaiser
@ 2018-09-11 14:37 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2018-09-11 14:37 UTC (permalink / raw)
  To: Martin Kaiser
  Cc: Matthias Brugger, Valdis Kletnieks, linux-mediatek, linux-kernel,
	linux-wireless, lorenzo.bianconi

(please cc linux-wireless on wireless patches)

Martin Kaiser <martin@kaiser.cx> writes:

> 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>

I believe there's a patch pending to fix this, but due to so many mt76
patches it might take few days before the fix is applied to
wireless-drivers-next.

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-11 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-06 13:06 [PATCH] mt76: MT76x0U requires MT76_USB Martin Kaiser
2018-09-11 14:37 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).