spi/spi_s3c64xx: Move to subsys_initcall()

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 <[email protected]>
Acked-by: Jassi Brar <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
Mark Brown 2010-09-07 11:29:17 +01:00 • committed by Grant Likely
commit d2a787fc57

View 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)
{