diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2009-09-19 09:09:50 +0200 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-09-19 23:36:56 +0100 |
commit | 5d3f33318a6c1f79f89e3dd2c7ddc11e0da14895 (patch) | |
tree | 36c5b0dadc48c6cbff5b0199b865922e0d9c76c1 /drivers/i2c/busses | |
parent | b0999cc55bd49e315ec82d2fb770a0d9ef7cbed8 (diff) | |
download | blackbird-op-linux-5d3f33318a6c1f79f89e3dd2c7ddc11e0da14895.tar.gz blackbird-op-linux-5d3f33318a6c1f79f89e3dd2c7ddc11e0da14895.zip |
[PATCH] i2c-imx: make bus available early
As I2C is used by PMICs also, make the busses available early via
subsys_initcall().
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c/busses')
-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) { return platform_driver_probe(&i2c_imx_driver, i2c_imx_probe); } +subsys_initcall(i2c_adap_imx_init); static void __exit i2c_adap_imx_exit(void) { platform_driver_unregister(&i2c_imx_driver); } - -module_init(i2c_adap_imx_init); module_exit(i2c_adap_imx_exit); MODULE_LICENSE("GPL"); |