Message ID | 20110111162352.5a634e9e@endymion.delvare (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
--- linux-2.6.38-rc0.orig/drivers/video/aty/radeon_i2c.c 2011-01-05 21:24:24.000000000 +0100 +++ linux-2.6.38-rc0/drivers/video/aty/radeon_i2c.c 2011-01-11 13:51:34.000000000 +0100 @@ -100,6 +100,7 @@ void radeon_create_i2c_busses(struct rad { rinfo->i2c[0].rinfo = rinfo; rinfo->i2c[0].ddc_reg = GPIO_MONID; + rinfo->i2c[0].adapter.class = I2C_CLASS_HWMON; radeon_setup_i2c_bus(&rinfo->i2c[0], "monid"); rinfo->i2c[1].rinfo = rinfo;