mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[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 <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
This commit is contained in:
parent
b0999cc55b
commit
5d3f33318a
1 changed files with 1 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue