Jean Delvare 399d6b2653 i2c: Fix oops on bus multiplexer driver loading
The two I2C bus multiplexer drivers (i2c-amd756-s4882 and
i2c-nforce2-s4985) make use of the bus they want to multiplex before
checking if it is really present. Swap the instructions to test for
presence first. This fixes a oops reported by Ingo Molnar.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Ingo Molnar <mingo@elte.hu>
2008-08-10 22:56:15 +02:00
..
2008-07-24 10:47:41 -07:00
2008-07-25 10:53:49 -07:00
2008-07-25 10:53:30 -07:00
2008-08-08 19:18:18 +01:00
2008-07-26 12:00:11 -07:00
2008-08-04 12:51:06 +09:00
2008-07-21 21:54:55 -07:00
2008-08-08 19:18:18 +01:00
2008-07-30 10:10:22 +01:00