mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] net: dsa: mv88e6060: Publish the OF module alias
@ 2026-09-05 13:41 hpp.iscas
  2026-09-05 20:22 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: hpp.iscas @ 2026-09-05 13:41 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: hpp.iscas, Vladimir Oltean, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, netdev, linux-kernel

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,


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: dsa: mv88e6060: Publish the OF module alias
  2026-09-05 13:41 [PATCH] net: dsa: mv88e6060: Publish the OF module alias hpp.iscas
@ 2026-09-05 20:22 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2026-09-05 20:22 UTC (permalink / raw)
  To: hpp.iscas
  Cc: Andrew Lunn, Vladimir Oltean, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, netdev, linux-kernel

On Sat, Sep 5, 2026 at 3:42 PM hpp.iscas <hppiscas@163.com> wrote:

> 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>

Fair enough.
Reviewed-by: Linus Walleij <linusw@kernel.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-05 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-05 13:41 [PATCH] net: dsa: mv88e6060: Publish the OF module alias hpp.iscas
2026-09-05 20:22 ` Linus Walleij

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®