Skip to content

Commit

Permalink
spi/spi_s3c64xx: Move to subsys_initcall()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Grant Likely committed Sep 8, 2010
1 parent 3486008 commit d2a787f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi_s3c64xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit d2a787f

Please sign in to comment.