All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
@ 2022-02-09  0:03 Joel Stanley
  2022-02-09  0:55 ` Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Joel Stanley @ 2022-02-09  0:03 UTC (permalink / raw)
  To: Andrew Lunn, David S . Miller, Jakub Kicinski, Andrew Jeffery
  Cc: netdev, linux-aspeed

Fix loading of the driver when built as a module.

Fixes: f160e99462c6 ("net: phy: Add mdio-aspeed")
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 drivers/net/mdio/mdio-aspeed.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/mdio/mdio-aspeed.c b/drivers/net/mdio/mdio-aspeed.c
index 966c3b4ad59d..e2273588c75b 100644
--- a/drivers/net/mdio/mdio-aspeed.c
+++ b/drivers/net/mdio/mdio-aspeed.c
@@ -148,6 +148,7 @@ static const struct of_device_id aspeed_mdio_of_match[] = {
 	{ .compatible = "aspeed,ast2600-mdio", },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, aspeed_mdio_of_match);
 
 static struct platform_driver aspeed_mdio_driver = {
 	.driver = {
-- 
2.34.1


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

end of thread, other threads:[~2022-02-09 12:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09  0:03 [PATCH net] net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE Joel Stanley
2022-02-09  0:55 ` Andrew Lunn
2022-02-09  5:15 ` Andrew Jeffery
2022-02-09 12:20 ` patchwork-bot+netdevbpf

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.