diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-imx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index 0b486a63460d..4afba3ec2a61 100644 --- a/drivers/i2c/busses/i2c-imx.c +++ b/drivers/i2c/busses/i2c-imx.c | |||
@@ -609,13 +609,12 @@ static int __init i2c_adap_imx_init(void) | |||
609 | { | 609 | { |
610 | return platform_driver_probe(&i2c_imx_driver, i2c_imx_probe); | 610 | return platform_driver_probe(&i2c_imx_driver, i2c_imx_probe); |
611 | } | 611 | } |
612 | subsys_initcall(i2c_adap_imx_init); | ||
612 | 613 | ||
613 | static void __exit i2c_adap_imx_exit(void) | 614 | static void __exit i2c_adap_imx_exit(void) |
614 | { | 615 | { |
615 | platform_driver_unregister(&i2c_imx_driver); | 616 | platform_driver_unregister(&i2c_imx_driver); |
616 | } | 617 | } |
617 | |||
618 | module_init(i2c_adap_imx_init); | ||
619 | module_exit(i2c_adap_imx_exit); | 618 | module_exit(i2c_adap_imx_exit); |
620 | 619 | ||
621 | MODULE_LICENSE("GPL"); | 620 | MODULE_LICENSE("GPL"); |