net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
[ Upstream commitbc1c3c3b10] Fix loading of the driver when built as a module. Fixes:f160e99462("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
bf99c14436
commit
ef5cdae8bc
1 changed files with 1 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue