nvidiafb: Correctly assign the i2c class with the port reversal
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 16 Oct 2007 08:29:36 +0000 (01:29 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:20 +0000 (09:43 -0700)
commit076a7dce9ac3d89ef7215eecc1230177891383bd
tree04438720ff7d9926762673e83e974fa4507b8fbc
parente400b6ec4ede4dc0aa8e5640425df5b29796fe0e
nvidiafb: Correctly assign the i2c class with the port reversal

If the i2c ports are to be reversed, I2C_CLASS_HWMON assignment must also be
reversed.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/nvidia/nv_i2c.c