diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-26 16:29:22 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-04-07 10:18:33 +0100 |
commit | 18dc83a6ea483941fb34293c6805a85bbcf0f718 (patch) | |
tree | e07670ff8f01f23b420d0ce6df633cf7c9d88f92 | |
parent | c564e6ae6c5aa6e3995ff87ed4a32b4788ad5109 (diff) | |
download | linux-18dc83a6ea483941fb34293c6805a85bbcf0f718.tar.gz linux-18dc83a6ea483941fb34293c6805a85bbcf0f718.tar.bz2 linux-18dc83a6ea483941fb34293c6805a85bbcf0f718.zip |
i2c: i2c-s3c2410: Initialise Samsung I2C controller early
This is required in order to ensure that core system devices such as
voltage regulators attached via I2C are avaiable early in boot.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r-- | drivers/i2c/busses/i2c-s3c2410.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index e10a59e7db6f..1691ef0f1ee1 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c @@ -1004,14 +1004,13 @@ static int __init i2c_adap_s3c_init(void) return ret; } +subsys_initcall(i2c_adap_s3c_init); static void __exit i2c_adap_s3c_exit(void) { platform_driver_unregister(&s3c2410_i2c_driver); platform_driver_unregister(&s3c2440_i2c_driver); } - -module_init(i2c_adap_s3c_init); module_exit(i2c_adap_s3c_exit); MODULE_DESCRIPTION("S3C24XX I2C Bus driver"); |