From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA328168CF for ; Mon, 8 May 2023 11:15:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 257D6C433EF; Mon, 8 May 2023 11:15:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1683544519; bh=VN4hcio/mP5PNOFrgXjwtSkD8z55lfLlc7H7NHAA4n4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iqV3r5avbAZR24lXnxZyox1SPxjndVsUkokZpHPIqpNRyynC4zcL4Om2JBnMAq0+l QCFWKoyAYbE/B0F1FWG6Xh7XFqhvgBvFP7q3BxSluKMS/6GnfnEuk6zgs10CB40HoJ JttMut2xwjTqMGDROp8TTxUAgsXFJMkZvOEpCca4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Lorenz Brun , AngeloGioacchino Del Regno , Felix Fietkau , Sasha Levin Subject: [PATCH 6.3 436/694] wifi: mt76: mt7915: expose device tree match table Date: Mon, 8 May 2023 11:44:31 +0200 Message-Id: <20230508094447.559913135@linuxfoundation.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230508094432.603705160@linuxfoundation.org> References: <20230508094432.603705160@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Lorenz Brun [ Upstream commit 90fb69212c60e26ef70ed0e8532b116c7649ac88 ] On MT7986 the WiFi driver currently does not get automatically loaded, requiring manual modprobing because the device tree compatibles are not exported into metadata. Add the missing MODULE_DEVICE_TABLE macro to fix this. Fixes: 99ad32a4ca3a2 ("mt76: mt7915: add support for MT7986") Signed-off-by: Lorenz Brun Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Felix Fietkau Signed-off-by: Sasha Levin --- drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/soc.c b/drivers/net/wireless/mediatek/mt76/mt7915/soc.c index 2ac0a0f2859cb..32c137066e7f7 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/soc.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/soc.c @@ -1239,6 +1239,8 @@ static const struct of_device_id mt7986_wmac_of_match[] = { {}, }; +MODULE_DEVICE_TABLE(of, mt7986_wmac_of_match); + struct platform_driver mt7986_wmac_driver = { .driver = { .name = "mt7986-wmac", -- 2.39.2