summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/arc
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-18 17:54:00 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-22 01:08:20 +0200
commitc7d778fa74a88e7b5a09ba498d66bd67a7dc7df0 (patch)
tree88ebc24e10a8a99814f5801e1e6fccd9c6187ada /drivers/net/ethernet/arc
parentnetlink: Fix autobind race condition that leads to zero port ID (diff)
downloadlinux-c7d778fa74a88e7b5a09ba498d66bd67a7dc7df0.tar.xz
linux-c7d778fa74a88e7b5a09ba498d66bd67a7dc7df0.zip
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')
-rw-r--r--drivers/net/ethernet/arc/emac_arc.c1
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,