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-14 22:38:34 +02:00
2008-01-27 18:14:45 +01:00
2008-07-16 11:07:59 +10:00
2008-07-14 22:38:33 +02:00
2008-04-11 12:07:05 +02:00
2007-02-13 22:09:01 +01:00