i2c-i801: Fix handling of error conditions
[safe/jmp/linux-2.6] / drivers / i2c / busses / i2c-sis96x.c
index cde8e58..413e9e4 100644 (file)
@@ -244,7 +244,7 @@ static const struct i2c_algorithm smbus_algorithm = {
 static struct i2c_adapter sis96x_adapter = {
        .owner          = THIS_MODULE,
        .id             = I2C_HW_SMBUS_SIS96X,
-       .class          = I2C_CLASS_HWMON,
+       .class          = I2C_CLASS_HWMON | I2C_CLASS_SPD,
        .algo           = &smbus_algorithm,
 };