diff options
author | Joel Stanley <joel@jms.id.au> | 2022-02-09 01:03:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-09 13:15:21 +0100 |
commit | bc1c3c3b10db4f37c41e6107751a8d450d9c431c (patch) | |
tree | d0b24d162d980751afcf5feba1fca785746d0515 /drivers/net/mdio | |
parent | veth: fix races around rq->rx_notify_masked (diff) | |
download | linux-bc1c3c3b10db4f37c41e6107751a8d450d9c431c.tar.xz linux-bc1c3c3b10db4f37c41e6107751a8d450d9c431c.zip |
net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
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>
Diffstat (limited to 'drivers/net/mdio')
-rw-r--r-- | drivers/net/mdio/mdio-aspeed.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = { |