diff options
author | Jean Delvare <khali@linux-fr.org> | 2008-08-10 22:56:15 +0200 |
---|---|---|
committer | Jean Delvare <khali@mahadeva.delvare> | 2008-08-10 22:56:15 +0200 |
commit | 399d6b26539d83dd734746dc2292d53fbc5807b2 (patch) | |
tree | 3f13ea26c570dafab9c516179da3342cca697858 /drivers/pcmcia/omap_cf.c | |
parent | 796aadeb1b2db9b5d463946766c5bbfd7717158c (diff) |
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>
Diffstat (limited to 'drivers/pcmcia/omap_cf.c')
0 files changed, 0 insertions, 0 deletions