From patchwork Thu Sep 6 13:06:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 10590571 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 953E7920 for ; Thu, 6 Sep 2018 13:07:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82A9728C9F for ; Thu, 6 Sep 2018 13:07:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7610D2A529; Thu, 6 Sep 2018 13:07:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C5620284C5 for ; Thu, 6 Sep 2018 13:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=+d7BEScDBKbO8J6A5HCmYDerUlFD46pRKGN/Qykh1eM=; b=ffv w2bdLpl3yrID2r0Qfz9EseLfQXdziDoC9EIQcBaC4uD56eZ8EhK3DkRi+EXtyUlafQNliCy3Ctbkg 33Rmdv7Fn2PTg0FgPHYKQhoNoaYDHaj65oCYtCcYcF5DZE8QP2YswyQ7VRA5ggqd2QOygIq4kokAL U+XfreeDrfB/z3/MY5L2Q7e8IRRNYmLx80Vb9+Ey/znGdNcPkE9pnD5pumWLjfoVPEq+uZhZ0/yTZ a6BJNEztcnbUxFowcC74e13K1b48HluTmSYG8EQZNgRUQk3za2qaeeqtUlPYdp9oU17iuK3igDzIS n7tiMbJJFkq2d9lUgdZvn5aQEr4WTPw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxu0P-0001C7-MD for patchwork-linux-mediatek@patchwork.kernel.org; Thu, 06 Sep 2018 13:07:29 +0000 Received: from viti.kaiser.cx ([2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxu0G-0001AB-LL for linux-mediatek@lists.infradead.org; Thu, 06 Sep 2018 13:07:27 +0000 Received: from dslb-094-222-221-043.094.222.pools.vodafone-ip.de ([94.222.221.43] helo=martin-debian-1.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.89) (envelope-from ) id 1fxtzz-0000bV-GX; Thu, 06 Sep 2018 15:07:03 +0200 From: Martin Kaiser To: Kalle Valo , Matthias Brugger , Valdis Kletnieks Subject: [PATCH] mt76: MT76x0U requires MT76_USB Date: Thu, 6 Sep 2018 15:06:43 +0200 Message-Id: <1536239203-21733-1-git-send-email-martin@kaiser.cx> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180906_060720_840601_9893652A X-CRM114-Status: UNSURE ( 6.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Kaiser , linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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