i2c: Fix device_init_wakeup place
authorMarc Pignat <marc.pignat@hevs.ch>
Thu, 28 Aug 2008 06:33:22 +0000 (08:33 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Thu, 28 Aug 2008 06:33:22 +0000 (08:33 +0200)
commitee35425c8eb11556a4cb7b1c7543f1bfb88f911c
treeb288fd8c690fe98c4045e74ce53af1cd93ece826
parent1941246dd98089dd637f44d3bd4f6cc1c61aa9e4
i2c: Fix device_init_wakeup place

device_init_wakeup must be called after device_register.

Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c