diff options
Diffstat (limited to 'drivers/video/nvidia/nv_i2c.c')
-rw-r--r-- | drivers/video/nvidia/nv_i2c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/nvidia/nv_i2c.c b/drivers/video/nvidia/nv_i2c.c index afe4567e1ff4..0cbcb3d833fb 100644 --- a/drivers/video/nvidia/nv_i2c.c +++ b/drivers/video/nvidia/nv_i2c.c | |||
@@ -125,11 +125,11 @@ void nvidia_create_i2c_busses(struct nvidia_par *par) | |||
125 | par->chan[1].par = par; | 125 | par->chan[1].par = par; |
126 | par->chan[2].par = par; | 126 | par->chan[2].par = par; |
127 | 127 | ||
128 | par->chan[0].ddc_base = 0x36; | 128 | par->chan[0].ddc_base = (par->reverse_i2c) ? 0x36 : 0x3e; |
129 | nvidia_setup_i2c_bus(&par->chan[0], "nvidia #0", I2C_CLASS_HWMON); | 129 | nvidia_setup_i2c_bus(&par->chan[0], "nvidia #0", 0); |
130 | 130 | ||
131 | par->chan[1].ddc_base = 0x3e; | 131 | par->chan[1].ddc_base = (par->reverse_i2c) ? 0x3e : 0x36; |
132 | nvidia_setup_i2c_bus(&par->chan[1], "nvidia #1", 0); | 132 | nvidia_setup_i2c_bus(&par->chan[1], "nvidia #1", I2C_CLASS_HWMON); |
133 | 133 | ||
134 | par->chan[2].ddc_base = 0x50; | 134 | par->chan[2].ddc_base = 0x50; |
135 | nvidia_setup_i2c_bus(&par->chan[2], "nvidia #2", 0); | 135 | nvidia_setup_i2c_bus(&par->chan[2], "nvidia #2", 0); |