]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
spi/spi_s3c64xx: Move to subsys_initcall()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Sep 2010 10:29:17 +0000 (11:29 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 8 Sep 2010 15:59:37 +0000 (09:59 -0600)
Allow the use of the S3C64xx SPI controller with things like PMICs by
moving the init up to subsys_initcall().

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_s3c64xx.c

index 7e627f73bc6c4eba279e8220731e2399033b6418..a4c480551e5f827e37fc5e4f4bcff2084147149c 100644 (file)
@@ -1175,7 +1175,7 @@ static int __init s3c64xx_spi_init(void)
 {
        return platform_driver_probe(&s3c64xx_spi_driver, s3c64xx_spi_probe);
 }
-module_init(s3c64xx_spi_init);
+subsys_initcall(s3c64xx_spi_init);
 
 static void __exit s3c64xx_spi_exit(void)
 {