|
@@ -725,6 +725,7 @@ static int __devinit iic_probe(struct ocp_device *ocp){
|
|
strcpy(adap->name, "IBM IIC");
|
|
strcpy(adap->name, "IBM IIC");
|
|
i2c_set_adapdata(adap, dev);
|
|
i2c_set_adapdata(adap, dev);
|
|
adap->id = I2C_HW_OCP;
|
|
adap->id = I2C_HW_OCP;
|
|
|
|
+ adap->class = I2C_CLASS_HWMON;
|
|
adap->algo = &iic_algo;
|
|
adap->algo = &iic_algo;
|
|
adap->client_register = NULL;
|
|
adap->client_register = NULL;
|
|
adap->client_unregister = NULL;
|
|
adap->client_unregister = NULL;
|