diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-09-07 06:29:17 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-09-08 11:59:37 -0400 |
commit | d2a787fc57142ba8757142f1569603b4d0b714a4 (patch) | |
tree | 1d7a4ade056244b48f9d6957262a7d94c0b6fee1 /drivers/spi/spi_s3c64xx.c | |
parent | 34860089c9e8abcc77428d29743b37ff756197e7 (diff) |
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 <broonie@opensource.wolfsonmicro.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi_s3c64xx.c')
-rw-r--r-- | drivers/spi/spi_s3c64xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_s3c64xx.c b/drivers/spi/spi_s3c64xx.c index 7e627f73bc6c..a4c480551e5f 100644 --- a/drivers/spi/spi_s3c64xx.c +++ b/drivers/spi/spi_s3c64xx.c | |||
@@ -1175,7 +1175,7 @@ static int __init s3c64xx_spi_init(void) | |||
1175 | { | 1175 | { |
1176 | return platform_driver_probe(&s3c64xx_spi_driver, s3c64xx_spi_probe); | 1176 | return platform_driver_probe(&s3c64xx_spi_driver, s3c64xx_spi_probe); |
1177 | } | 1177 | } |
1178 | module_init(s3c64xx_spi_init); | 1178 | subsys_initcall(s3c64xx_spi_init); |
1179 | 1179 | ||
1180 | static void __exit s3c64xx_spi_exit(void) | 1180 | static void __exit s3c64xx_spi_exit(void) |
1181 | { | 1181 | { |