From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: [PATCH] mt76x0: build driver only as module Date: Fri, 03 Aug 2018 12:19:20 +0300 Message-ID: <87zhy36c4n.fsf@kamboji.qca.qualcomm.com> References: <20180803091401.GB10284@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20180803091401.GB10284@redhat.com> (Stanislaw Gruszka's message of "Fri, 3 Aug 2018 11:14:01 +0200") Sender: linux-kernel-owner@vger.kernel.org To: Stanislaw Gruszka Cc: Wireless , Stephen Rothwell , Linux-Next Mailing List , Linux Kernel Mailing List List-Id: linux-next.vger.kernel.org Stanislaw Gruszka writes: > 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 Thanks for the quick patch! > --- 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 But this feels like an ugly hack to me. Isn't there a better way to fix this? (I don't have time to investigate the error in detail right now.) -- Kalle Valo