netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fec: Add MODULE_ALIAS
@ 2013-07-20 19:20 Fabio Estevam
  2013-07-24  0:23 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2013-07-20 19:20 UTC (permalink / raw)
  To: davem; +Cc: netdev, Fabio Estevam

From: Fabio Estevam <fabio.estevam@freescale.com>

Add MODULE_ALIAS, so that auto module loading can work.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/net/ethernet/freescale/fec_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index d3ad5ea..f0f0e96 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -2279,4 +2279,5 @@ static struct platform_driver fec_driver = {
 
 module_platform_driver(fec_driver);
 
+MODULE_ALIAS("platform:"DRIVER_NAME);
 MODULE_LICENSE("GPL");
-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fec: Add MODULE_ALIAS
  2013-07-20 19:20 [PATCH] fec: Add MODULE_ALIAS Fabio Estevam
@ 2013-07-24  0:23 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-07-24  0:23 UTC (permalink / raw)
  To: festevam; +Cc: netdev, fabio.estevam

From: Fabio Estevam <festevam@gmail.com>
Date: Sat, 20 Jul 2013 16:20:36 -0300

> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Add MODULE_ALIAS, so that auto module loading can work.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-24  0:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-20 19:20 [PATCH] fec: Add MODULE_ALIAS Fabio Estevam
2013-07-24  0:23 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).