fec: Add MODULE_ALIAS
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 20 Jul 2013 19:20:36 +0000 (16:20 -0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jul 2013 00:23:16 +0000 (17:23 -0700)
Add MODULE_ALIAS, so that auto module loading can work.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c

index d3ad5ea..f0f0e96 100644 (file)
@@ -2279,4 +2279,5 @@ static struct platform_driver fec_driver = {
 
 module_platform_driver(fec_driver);
 
+MODULE_ALIAS("platform:"DRIVER_NAME);
 MODULE_LICENSE("GPL");