Skip to contentSkip to conversation

add modalias info to mv643xx_eth.ko

PATCH In review Olaf Hering 2 participants 2 messages Jan 18, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add modalias info to mv643xx_eth.ko

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.

---
 drivers/net/mv643xx_eth.c |    1 +
 1 file changed, 1 insertion(+)
drivers/net/mv643xx_eth.c +1 -0
@@ -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.