From patchwork Mon Aug 26 09:18:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liao Chen X-Patchwork-Id: 13777478 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 574F3C5321D for ; Mon, 26 Aug 2024 09:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZCZMEyEZhJP/flXbRswmP79Rb0cV9KiEbrFVzhzmm/8=; b=49vlZPmN4cMOz77RUbIpGt14Dd POKZlYC17zj4D0Lf6+kEfh8vA4gOmrdY0kulX3AfBEsBWaGeya00PcgliSU4NcbZkGnwe9XRdUsYu WotS0kV9w3GCNZAy17g/+djjR53cW0dj3gpaUgaon+5nF1tcn4/gya6cMgSr2ZyWjgSnyaZcKSBS+ gcYgdECbc2FuSfzleuvlCdb4IlZ80zD9q2TBjY+OKhczgdT1KmEB8Anhc6/8w70EkFO6bCG8TGNXQ bEQF3oODHue0wCZWQJu6W7ma/6MA0a8aSq7RXf9LVkwgzGgOAbvCy7S9ZzPoVeLdDC5QvMgkPro2G hbbEtdsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siW2l-00000006fSr-0E1r; Mon, 26 Aug 2024 09:29:47 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siW0Q-00000006eMy-1Va8; Mon, 26 Aug 2024 09:27:26 +0000 Received: from mail.maildlp.com (unknown [172.19.162.254]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Wslg54rQ2zyRB9; Mon, 26 Aug 2024 17:26:41 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id BA5C51800D0; Mon, 26 Aug 2024 17:27:09 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 26 Aug 2024 17:27:09 +0800 From: Liao Chen To: , , , CC: , , , , , , , , , , , Subject: [PATCH -next 1/3] net: dm9051: fix module autoloading Date: Mon, 26 Aug 2024 09:18:56 +0000 Message-ID: <20240826091858.369910-2-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826091858.369910-1-liaochen4@huawei.com> References: <20240826091858.369910-1-liaochen4@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.77] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500020.china.huawei.com (7.185.36.49) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_022722_724645_F7FECCE3 X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen --- drivers/net/ethernet/davicom/dm9051.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/davicom/dm9051.c b/drivers/net/ethernet/davicom/dm9051.c index bcfe52c11804..59ea48d4c9de 100644 --- a/drivers/net/ethernet/davicom/dm9051.c +++ b/drivers/net/ethernet/davicom/dm9051.c @@ -1235,6 +1235,7 @@ static const struct of_device_id dm9051_match_table[] = { { .compatible = "davicom,dm9051" }, {} }; +MODULE_DEVICE_TABLE(of, dm9051_match_table); static const struct spi_device_id dm9051_id_table[] = { { "dm9051", 0 }, From patchwork Mon Aug 26 09:18:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liao Chen X-Patchwork-Id: 13777477 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ADF25C5321D for ; Mon, 26 Aug 2024 09:29:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mKXVk9iDLr2Oij/3TW2PU/QE6/84cXrWB7IGaHDxHXk=; b=mOxOi7CXH/kwqNlY/WhWczbNhc M4K7bAhNW9vr0ZB/v/Q4OIMlplLfZ6x3qMG59Wht6Bp8XdZUFyc2PaCG0G6fhC+9fs+gWwWW1xCx/ QEo3AgUyElNB2OXFQWYjAEPAz/HegK2wbuvDqdjEdIfI+RO7WFhHTSVbL8T3qe1qy60IoCZPuz00W HwoNMx+hWE7/01f0DRAazXkmuYD3hFJuZuJKw2G3Rch2WaC7lHKIRH3LuFjQ43faQ0FEmUs/0tHa3 W7EmzhkevCR5FaSEYSlnJcDRelZPj62Br59QqBlEndUocQkTfEN0yVsB2i5XRzKSomF6aAs+MuIuA Qvd3Pv5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siW20-00000006f84-1ots; Mon, 26 Aug 2024 09:29:00 +0000 Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siW0Q-00000006eN1-1UwJ; Mon, 26 Aug 2024 09:27:25 +0000 Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4WsldH0C95zhYTp; Mon, 26 Aug 2024 17:25:07 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id E990F14037E; Mon, 26 Aug 2024 17:27:09 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 26 Aug 2024 17:27:09 +0800 From: Liao Chen To: , , , CC: , , , , , , , , , , , Subject: [PATCH -next 2/3] net: ag71xx: fix module autoloading Date: Mon, 26 Aug 2024 09:18:57 +0000 Message-ID: <20240826091858.369910-3-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826091858.369910-1-liaochen4@huawei.com> References: <20240826091858.369910-1-liaochen4@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.77] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500020.china.huawei.com (7.185.36.49) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_022722_730842_DB1BB598 X-CRM114-Status: UNSURE ( 8.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen --- drivers/net/ethernet/atheros/ag71xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/atheros/ag71xx.c b/drivers/net/ethernet/atheros/ag71xx.c index a38be924cdaa..844b86abd90a 100644 --- a/drivers/net/ethernet/atheros/ag71xx.c +++ b/drivers/net/ethernet/atheros/ag71xx.c @@ -2064,6 +2064,7 @@ static const struct of_device_id ag71xx_match[] = { { .compatible = "qca,qca9560-eth", .data = &ag71xx_dcfg_qca9550 }, {} }; +MODULE_DEVICE_TABLE(of, ag71xx_match); static struct platform_driver ag71xx_driver = { .probe = ag71xx_probe, From patchwork Mon Aug 26 09:18:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liao Chen X-Patchwork-Id: 13777480 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D93CC5321E for ; Mon, 26 Aug 2024 09:30:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zNpcBaoxg11kBlTn8I1dFO15BXiAF3jq3JlJno7u0a4=; b=bBCGU/LkenfWEnWB/BFpUR7qHg DMpwXuMvhkTndQFKfOrQVNFnwYQKppGO39y7NBuzJ/M3Jb3CKPGDUd5csp2XsWVLmfJlZ3F27jMbd fjr6KTOrZscTzg8jTTXuYYiZGz4NKDnpZEEWGulwC32AhWmfrKom+0clGzgDe45RHjXyVhhxGMxA6 lrd5sQXvioQA7jjIYkYTrmFZsBl+c8X6An1iq45ayyp+ZP7Tg+pLBDhFXjS6pMaxuPZ0J7vIMgFeQ q2/iECjzmBOHcWGWvgmhTvYFXm7YNuWpC9WQqDRJFbQd7PuC9a5m8LWAPCwUuIBKNpC2kv/ES+2pt q5oF+jgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siW3V-00000006fgh-3oiW; Mon, 26 Aug 2024 09:30:33 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siW0Q-00000006eMz-1UsD; Mon, 26 Aug 2024 09:27:26 +0000 Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Wslfm30g6zpVsj; Mon, 26 Aug 2024 17:26:24 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id 2FB8814037E; Mon, 26 Aug 2024 17:27:10 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 26 Aug 2024 17:27:09 +0800 From: Liao Chen To: , , , CC: , , , , , , , , , , , Subject: [PATCH -next 3/3] net: airoha: fix module autoloading Date: Mon, 26 Aug 2024 09:18:58 +0000 Message-ID: <20240826091858.369910-4-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826091858.369910-1-liaochen4@huawei.com> References: <20240826091858.369910-1-liaochen4@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.77] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500020.china.huawei.com (7.185.36.49) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_022722_706239_4DD3F74F X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Acked-by: Lorenzo Bianconi --- drivers/net/ethernet/mediatek/airoha_eth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/mediatek/airoha_eth.c b/drivers/net/ethernet/mediatek/airoha_eth.c index 1c5b85a86df1..a80c1fae5c2d 100644 --- a/drivers/net/ethernet/mediatek/airoha_eth.c +++ b/drivers/net/ethernet/mediatek/airoha_eth.c @@ -2715,6 +2715,7 @@ static const struct of_device_id of_airoha_match[] = { { .compatible = "airoha,en7581-eth" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, of_airoha_match); static struct platform_driver airoha_driver = { .probe = airoha_probe,