aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-s3c2410.c3
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}
1007subsys_initcall(i2c_adap_s3c_init);
1007 1008
1008static void __exit i2c_adap_s3c_exit(void) 1009static 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
1014module_init(i2c_adap_s3c_init);
1015module_exit(i2c_adap_s3c_exit); 1014module_exit(i2c_adap_s3c_exit);
1016 1015
1017MODULE_DESCRIPTION("S3C24XX I2C Bus driver"); 1016MODULE_DESCRIPTION("S3C24XX I2C Bus driver");