From: Pratyush Anand <pratyush.anand@xxxxxx> There are few drivers which are available on i2c bus but have been initialized with subsys_initcall. Also as I2C is also a bus driver, it should be available as early as possible. Therefore i2c driver must s initialized with subsys initcall in this patch. Signed-off-by: Pratyush Anand <pratyush.anand@xxxxxx> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxx> --- This patch was sent a long time back and was never pushed. Resending it again. drivers/i2c/busses/i2c-designware-platdrv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c index 2237398..ac953c8 100644 --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c @@ -249,7 +249,7 @@ static int __init dw_i2c_init_driver(void) { return platform_driver_probe(&dw_i2c_driver, dw_i2c_probe); } -module_init(dw_i2c_init_driver); +subsys_initcall(dw_i2c_init_driver); static void __exit dw_i2c_exit_driver(void) { -- 1.7.8.110.g4cb5d -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html