diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-ibm_iic.c')
-rw-r--r-- | drivers/i2c/busses/i2c-ibm_iic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c index 85dbf34382e1..6f7bfdec3c69 100644 --- a/drivers/i2c/busses/i2c-ibm_iic.c +++ b/drivers/i2c/busses/i2c-ibm_iic.c | |||
@@ -740,7 +740,7 @@ static int __devinit iic_probe(struct ocp_device *ocp){ | |||
740 | strcpy(adap->name, "IBM IIC"); | 740 | strcpy(adap->name, "IBM IIC"); |
741 | i2c_set_adapdata(adap, dev); | 741 | i2c_set_adapdata(adap, dev); |
742 | adap->id = I2C_HW_OCP; | 742 | adap->id = I2C_HW_OCP; |
743 | adap->class = I2C_CLASS_HWMON; | 743 | adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; |
744 | adap->algo = &iic_algo; | 744 | adap->algo = &iic_algo; |
745 | adap->client_register = NULL; | 745 | adap->client_register = NULL; |
746 | adap->client_unregister = NULL; | 746 | adap->client_unregister = NULL; |
@@ -934,7 +934,7 @@ static int __devinit iic_probe(struct of_device *ofdev, | |||
934 | strlcpy(adap->name, "IBM IIC", sizeof(adap->name)); | 934 | strlcpy(adap->name, "IBM IIC", sizeof(adap->name)); |
935 | i2c_set_adapdata(adap, dev); | 935 | i2c_set_adapdata(adap, dev); |
936 | adap->id = I2C_HW_OCP; | 936 | adap->id = I2C_HW_OCP; |
937 | adap->class = I2C_CLASS_HWMON; | 937 | adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD; |
938 | adap->algo = &iic_algo; | 938 | adap->algo = &iic_algo; |
939 | adap->timeout = 1; | 939 | adap->timeout = 1; |
940 | adap->nr = dev->idx; | 940 | adap->nr = dev->idx; |