Commit bc1c3c3b authored by Joel Stanley's avatar Joel Stanley Committed by David S. Miller
Browse files

net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE



Fix loading of the driver when built as a module.

Fixes: f160e994 ("net: phy: Add mdio-aspeed")
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Acked-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 68468d8c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 = {