diff options
author | David Brownell <david-b@pacbell.net> | 2007-10-13 17:56:33 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-10-13 17:56:33 -0400 |
commit | 6662cbb989ee71712176570759bdc4e596aed417 (patch) | |
tree | f4c237ce251b4f34162ff1c6c7bd84514906b73e /drivers/i2c/busses/i2c-i801.c | |
parent | 24d0fb423ca18adf509dec8a7326c0bdd6653e41 (diff) |
i2c: Rename the PEC functionality bit
Rename I2C_FUNC_SMBUS_HWPEC_CALC as I2C_FUNC_SMBUS_PEC, and list that
functionality as always available through the software implementation.
Update documentation accordingly (and list similar requirements).
The way it's currently packaged doesn't present the capability in a
useful way.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-i801.c')
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index f78a80867170..ac27e5f84ebe 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -516,7 +516,7 @@ static u32 i801_func(struct i2c_adapter *adapter) | |||
516 | return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | | 516 | return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | |
517 | I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA | | 517 | I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA | |
518 | I2C_FUNC_SMBUS_BLOCK_DATA | I2C_FUNC_SMBUS_WRITE_I2C_BLOCK | 518 | I2C_FUNC_SMBUS_BLOCK_DATA | I2C_FUNC_SMBUS_WRITE_I2C_BLOCK |
519 | | (isich4 ? I2C_FUNC_SMBUS_HWPEC_CALC : 0); | 519 | | (isich4 ? I2C_FUNC_SMBUS_PEC : 0); |
520 | } | 520 | } |
521 | 521 | ||
522 | static const struct i2c_algorithm smbus_algorithm = { | 522 | static const struct i2c_algorithm smbus_algorithm = { |