From: Martin Michlmayr Date: Thu, 28 Feb 2008 20:11:48 +0000 (+0100) Subject: mv643xx_eth: Define module alias for platform device X-Git-Tag: v2.6.25-rc6~31^2~44 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=27c8bc2cc1a520a6c77b225bb7dc53f7dea32f6f;p=linux-2.6-omap-h63xx.git mv643xx_eth: Define module alias for platform device The mv643xx_eth driver can be loaded as a platform device, as is done by various Orion (ARM) based devices. The driver needs to define a module alias for the platform driver so udev will load it automatically. Tested with Debian on a QNAP TS-209. Signed-off-by: Martin Michlmayr Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index b528ce77c40..771139e283a 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c @@ -2104,6 +2104,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.