Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2a787fc authored by Mark Brown's avatar Mark Brown Committed by Grant Likely
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarJassi Brar <jassi.brar@samsung.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 34860089
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{