From: "hpp.iscas" <hppiscas@163.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: "hpp.iscas" <hppiscas@163.com>,
Vladimir Oltean <olteanv@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Oleksij Rempel <o.rempel@pengutronix.de>,
Vivien Didelot <vivien.didelot@gmail.com>
Subject: [PATCH] net: dsa: ar9331: Publish the OF module alias
Date: Sat, 5 Sep 2026 21:42:01 +0800 [thread overview]
Message-ID: <20260905134201.66828-1-hppiscas@163.com> (raw)
The AR9331 switch driver registers an OF match table on the MDIO bus.
The bus emits an OF modalias for matching devices, but this table is
not exported to the module's alias metadata.
Publish the existing table without changing DSA registration or routing.
Fixes: ec6698c272de ("net: dsa: add support for Atheros AR9331 built-in switch")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
drivers/net/dsa/qca/ar9331.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dsa/qca/ar9331.c b/drivers/net/dsa/qca/ar9331.c
index 0526aa9..4b3b961 100644
--- a/drivers/net/dsa/qca/ar9331.c
+++ b/drivers/net/dsa/qca/ar9331.c
@@ -1124,6 +1124,7 @@ static const struct of_device_id ar9331_sw_of_match[] = {
{ .compatible = "qca,ar9331-switch" },
{ },
};
+MODULE_DEVICE_TABLE(of, ar9331_sw_of_match);
static struct mdio_driver ar9331_sw_mdio_driver = {
.probe = ar9331_sw_probe,
reply other threads:[~2026-09-05 13:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260905134201.66828-1-hppiscas@163.com \
--to=hppiscas@163.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=vivien.didelot@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®