diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-18 18:16:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-21 16:11:20 -0700 |
commit | 2f90a3070690ad80c38d650e91b96b5dcbdfe2fd (patch) | |
tree | 2121b8db0935b8573741c5350ecdd7efdfa008b9 /drivers/net/phy | |
parent | a11d5585edc626106d060dde447467677d220485 (diff) |
net: phy: mdio-bcm-unimac: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/mdio-bcm-unimac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/mdio-bcm-unimac.c b/drivers/net/phy/mdio-bcm-unimac.c index 6a52a7f0fa0d..4bde5e728fe0 100644 --- a/drivers/net/phy/mdio-bcm-unimac.c +++ b/drivers/net/phy/mdio-bcm-unimac.c @@ -244,6 +244,7 @@ static const struct of_device_id unimac_mdio_ids[] = { { .compatible = "brcm,unimac-mdio", }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE(of, unimac_mdio_ids); static struct platform_driver unimac_mdio_driver = { .driver = { |