]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c: Do earlier driver model init
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 14 Oct 2008 15:30:06 +0000 (17:30 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Tue, 14 Oct 2008 15:30:06 +0000 (17:30 +0200)
commita10f9e7caf8d3028d8fb1d4c3d590492cde3df3e
tree46b3082ac2fedc4f49bae3fee2276d54923565b9
parentf1453ee3a4da94250849606882948c590a4ad8dd
i2c: Do earlier driver model init

Move I2C driver model init earlier in the boot sequence.

This avoids oopsing in statically linked systems when some
subsystems register I2C drivers in subsys_initcall() code,
but those subsystems are linked (and initialized) before I2C.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c