Unite the MODULE_ALIAS() declaration with the rest of the MODULE_* definitions.
Signed-off-by: Ben Dooks <[EMAIL PROTECTED]> Index: linux-2.6.25-quilt3/drivers/spi/spi_s3c24xx.c =================================================================== --- linux-2.6.25-quilt3.orig/drivers/spi/spi_s3c24xx.c 2008-04-18 11:40:15.000000000 +0100 +++ linux-2.6.25-quilt3/drivers/spi/spi_s3c24xx.c 2008-04-18 11:41:37.000000000 +0100 @@ -424,7 +424,6 @@ static int s3c24xx_spi_resume(struct pla #define s3c24xx_spi_resume NULL #endif -MODULE_ALIAS("platform:s3c2410-spi"); static struct platform_driver s3c24xx_spidrv = { .remove = __exit_p(s3c24xx_spi_remove), .suspend = s3c24xx_spi_suspend, @@ -451,3 +450,4 @@ module_exit(s3c24xx_spi_exit); MODULE_DESCRIPTION("S3C24XX SPI Driver"); MODULE_AUTHOR("Ben Dooks, <[EMAIL PROTECTED]>"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:s3c2410-spi"); -- Ben ([EMAIL PROTECTED], http://www.fluff.org/) 'a smiley only costs 4 bytes' ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ spi-devel-general mailing list spi-devel-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spi-devel-general