projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68468d8
)
net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
author
Joel Stanley
<joel@jms.id.au>
Wed, 9 Feb 2022 00:03:59 +0000
(10:33 +1030)
committer
David S. Miller
<davem@davemloft.net>
Wed, 9 Feb 2022 12:15:21 +0000
(12:15 +0000)
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>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-aspeed.c
patch
|
blob
|
history
diff --git
a/drivers/net/mdio/mdio-aspeed.c
b/drivers/net/mdio/mdio-aspeed.c
index 966c3b4ad59d14e74bc113680e0fbff231d296d2..e2273588c75b6f3dd212269611d7f41a8769ed16 100644
(file)
--- 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 = {