[PATCH] add modalias info to mv643xx_eth.ko

STALE6770d

2 messages, 2 authors, 2008-01-18 · open the first message on its own page

[PATCH] add modalias info to mv643xx_eth.ko

From: Olaf Hering <hidden>
Date: 2008-01-18 09:37:55

mv643xx_eth has an platform modalias file in sysfs.
But the module itself has no alias: line. Autoloading fails
without the alias info in the module.

Signed-off-by: Olaf Hering <redacted>

---
 drivers/net/mv643xx_eth.c |    1 +
 1 file changed, 1 insertion(+)
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -2099,6 +2099,7 @@ MODULE_LICENSE("GPL");
 MODULE_AUTHOR(	"Rabeeh Khoury, Assaf Hoffman, Matthew Dharm, Manish Lachwani"
 		" and Dale Farnsworth");
 MODULE_DESCRIPTION("Ethernet driver for Marvell MV643XX");
+MODULE_ALIAS("platform:mv643xx_eth");
 
 /*
  * The second part is the low level driver of the gigE ethernet ports.

Re: [PATCH] add modalias info to mv643xx_eth.ko

From: Dale Farnsworth <hidden>
Date: 2008-01-18 16:31:50

On Fri, Jan 18, 2008 at 10:38:05AM +0100, Olaf Hering wrote:
mv643xx_eth has an platform modalias file in sysfs.
But the module itself has no alias: line. Autoloading fails
without the alias info in the module.

Signed-off-by: Olaf Hering <redacted>
Acked-by: Dale Farnsworth <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help