aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-10-13 17:56:33 -0400
committerJean Delvare <khali@hyperion.delvare>2007-10-13 17:56:33 -0400
commitac3f5753ea37d55c85aaf96211c13038fcc69aef (patch)
tree439d464efa86d15bab659238bbc95694e280e5ae
parentd49584c4a37c7228e7778bcb60f79e7a08472fa8 (diff)
i2c-nforce2: Declare PEC as supported
The i2c-nforce2 driver has SMBus PEC support, so it should say so. Signed-off-by: Jean Delvare <khali@linux-fr.org>
-rw-r--r--drivers/i2c/busses/i2c-nforce2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c
index c359eabe85fb..1bf590c74166 100644
--- a/drivers/i2c/busses/i2c-nforce2.c
+++ b/drivers/i2c/busses/i2c-nforce2.c
@@ -264,6 +264,7 @@ static u32 nforce2_func(struct i2c_adapter *adapter)
264 /* other functionality might be possible, but is not tested */ 264 /* other functionality might be possible, but is not tested */
265 return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | 265 return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE |
266 I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA | 266 I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA |
267 I2C_FUNC_SMBUS_PEC |
267 (((struct nforce2_smbus*)adapter->algo_data)->blockops ? 268 (((struct nforce2_smbus*)adapter->algo_data)->blockops ?
268 I2C_FUNC_SMBUS_BLOCK_DATA : 0); 269 I2C_FUNC_SMBUS_BLOCK_DATA : 0);
269} 270}