diff options
Diffstat (limited to 'drivers/video/aty/radeon_i2c.c')
-rw-r--r-- | drivers/video/aty/radeon_i2c.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/aty/radeon_i2c.c b/drivers/video/aty/radeon_i2c.c index 78d1f4cd1fe0..ab1d0fd76316 100644 --- a/drivers/video/aty/radeon_i2c.c +++ b/drivers/video/aty/radeon_i2c.c | |||
@@ -100,6 +100,9 @@ void radeon_create_i2c_busses(struct radeonfb_info *rinfo) | |||
100 | { | 100 | { |
101 | rinfo->i2c[0].rinfo = rinfo; | 101 | rinfo->i2c[0].rinfo = rinfo; |
102 | rinfo->i2c[0].ddc_reg = GPIO_MONID; | 102 | rinfo->i2c[0].ddc_reg = GPIO_MONID; |
103 | #ifndef CONFIG_PPC | ||
104 | rinfo->i2c[0].adapter.class = I2C_CLASS_HWMON; | ||
105 | #endif | ||
103 | radeon_setup_i2c_bus(&rinfo->i2c[0], "monid"); | 106 | radeon_setup_i2c_bus(&rinfo->i2c[0], "monid"); |
104 | 107 | ||
105 | rinfo->i2c[1].rinfo = rinfo; | 108 | rinfo->i2c[1].rinfo = rinfo; |