i2c: busses: i2c-tegra: Move init to subsys_initcall
authorColin Cross <ccross@android.com>
Thu, 14 Oct 2010 01:00:21 +0000 (18:00 -0700)
committerColin Cross <ccross@android.com>
Wed, 20 Oct 2010 21:30:17 +0000 (14:30 -0700)
commit8b2a43378b06e6706c5ac4faa943468fe06f51a4
treea9fc0c8629704f81b27309acb0e24ddc5ad49e66
parent00eb0f29e9e3c9882b334a7fffa13f63085e8117
i2c: busses: i2c-tegra: Move init to subsys_initcall

Some drivers (like hdmi) need to communicate over i2c during probe.
Move the i2c bus init to the subsys init level so that i2c is ready
for the start of the device init level.

Change-Id: I81234d42aa26b657ffc619099e47df09e12083bb
Signed-off-by: Colin Cross <ccross@android.com>
drivers/i2c/busses/i2c-tegra.c