i2c-i801: Fix handling of error conditions
[safe/jmp/linux-2.6] / drivers / i2c / busses / i2c-isch.c
index c9cd46b..8d64891 100644 (file)
@@ -251,7 +251,7 @@ static const struct i2c_algorithm smbus_algorithm = {
 
 static struct i2c_adapter sch_adapter = {
        .owner          = THIS_MODULE,
-       .class          = I2C_CLASS_HWMON,
+       .class          = I2C_CLASS_HWMON | I2C_CLASS_SPD,
        .algo           = &smbus_algorithm,
 };