mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
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:
committed by
Greg Kroah-Hartman
parent
bf99c14436
commit
ef5cdae8bc
@@ -148,6 +148,7 @@ static const struct of_device_id aspeed_mdio_of_match[] = {
|
|||||||
{ .compatible = "aspeed,ast2600-mdio", },
|
{ .compatible = "aspeed,ast2600-mdio", },
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, aspeed_mdio_of_match);
|
||||||
|
|
||||||
static struct platform_driver aspeed_mdio_driver = {
|
static struct platform_driver aspeed_mdio_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
|
|||||||
Reference in New Issue
Block a user