diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-18 18:54:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-22 02:08:20 +0300 |
commit | c7d778fa74a88e7b5a09ba498d66bd67a7dc7df0 (patch) | |
tree | 88ebc24e10a8a99814f5801e1e6fccd9c6187ada /drivers/net/ethernet/arc/emac_arc.c | |
parent | 1f770c0a09da855a2b51af6d19de97fb955eca85 (diff) | |
download | linux-c7d778fa74a88e7b5a09ba498d66bd67a7dc7df0.tar.xz |
net: arc: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/arc/emac_arc.c')
-rw-r--r-- | drivers/net/ethernet/arc/emac_arc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/arc/emac_arc.c b/drivers/net/ethernet/arc/emac_arc.c index f9cb99bfb511..ffd180570920 100644 --- a/drivers/net/ethernet/arc/emac_arc.c +++ b/drivers/net/ethernet/arc/emac_arc.c @@ -78,6 +78,7 @@ static const struct of_device_id emac_arc_dt_ids[] = { { .compatible = "snps,arc-emac" }, { /* Sentinel */ } }; +MODULE_DEVICE_TABLE(of, emac_arc_dt_ids); static struct platform_driver emac_arc_driver = { .probe = emac_arc_probe, |