diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-26 11:29:22 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-04-07 05:18:33 -0400 |
commit | 18dc83a6ea483941fb34293c6805a85bbcf0f718 (patch) | |
tree | e07670ff8f01f23b420d0ce6df633cf7c9d88f92 /drivers/i2c | |
parent | c564e6ae6c5aa6e3995ff87ed4a32b4788ad5109 (diff) |
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>
Diffstat (limited to 'drivers/i2c')
-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) | |||
1004 | 1004 | ||
1005 | return ret; | 1005 | return ret; |
1006 | } | 1006 | } |
1007 | subsys_initcall(i2c_adap_s3c_init); | ||
1007 | 1008 | ||
1008 | static void __exit i2c_adap_s3c_exit(void) | 1009 | static void __exit i2c_adap_s3c_exit(void) |
1009 | { | 1010 | { |
1010 | platform_driver_unregister(&s3c2410_i2c_driver); | 1011 | platform_driver_unregister(&s3c2410_i2c_driver); |
1011 | platform_driver_unregister(&s3c2440_i2c_driver); | 1012 | platform_driver_unregister(&s3c2440_i2c_driver); |
1012 | } | 1013 | } |
1013 | |||
1014 | module_init(i2c_adap_s3c_init); | ||
1015 | module_exit(i2c_adap_s3c_exit); | 1014 | module_exit(i2c_adap_s3c_exit); |
1016 | 1015 | ||
1017 | MODULE_DESCRIPTION("S3C24XX I2C Bus driver"); | 1016 | MODULE_DESCRIPTION("S3C24XX I2C Bus driver"); |