All of lore.kernel.org
 help / color / mirror / Atom feed
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
Subject: [PATCH] net: dsa: mv88e6060: Publish the OF module alias
Date: Sat,  5 Sep 2026 21:41:31 +0800	[thread overview]
Message-ID: <20260905134131.66680-1-hppiscas@163.com> (raw)

The MV88E6060 MDIO driver uses mv88e6060_of_match for OF matching.
The MDIO bus emits an OF modalias for such devices, but the module
only provides the legacy platform:mv88e6060 alias.

Publish the OF match table and retain the legacy alias.

Fixes: 277617603c02 ("net: dsa: mv88e6060: Support probing as an mdio device")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
 drivers/net/dsa/mv88e6060.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/dsa/mv88e6060.c b/drivers/net/dsa/mv88e6060.c
index 9c8ac14..8373ccd 100644
--- a/drivers/net/dsa/mv88e6060.c
+++ b/drivers/net/dsa/mv88e6060.c
@@ -364,6 +364,7 @@ static const struct of_device_id mv88e6060_of_match[] = {
 	},
 	{ /* sentinel */ },
 };
+MODULE_DEVICE_TABLE(of, mv88e6060_of_match);
 
 static struct mdio_driver mv88e6060_driver = {
 	.probe	= mv88e6060_probe,


             reply	other threads:[~2026-09-05 13:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-05 13:41 hpp.iscas [this message]
2026-09-05 20:22 ` [PATCH] net: dsa: mv88e6060: Publish the OF module alias Linus Walleij
2026-09-08 23:40 ` Jakub Kicinski

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=20260905134131.66680-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=olteanv@gmail.com \
    --cc=pabeni@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.