i2c: designware: dw_i2c_init_driver as subsys initcall
authorPratyush Anand <pratyush.anand@st.com>
Wed, 29 Feb 2012 06:57:46 +0000 (12:27 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 29 Feb 2012 19:21:03 +0000 (20:21 +0100)
commit104522806a7d9d47c34f425dee2bcd7f1ee5613e
treed502e419e6e3da50240e9813ce78c5edff6eaef2
parent64eac23196e9cb7cad63f3c747928cc53d2699b5
i2c: designware: dw_i2c_init_driver as subsys initcall

There are few drivers which are available on i2c bus but have been initialized
with subsys_initcall. Also as I2C is a bus driver, it should be available as
early as possible.

Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
[wsa: Slightly updated the commit message]

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-designware-platdrv.c