Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ac3f5753ea37d55c85aaf96211c13038fcc69aef
Commit:     ac3f5753ea37d55c85aaf96211c13038fcc69aef
Parent:     d49584c4a37c7228e7778bcb60f79e7a08472fa8
Author:     Jean Delvare <[EMAIL PROTECTED]>
AuthorDate: Sat Oct 13 23:56:33 2007 +0200
Committer:  Jean Delvare <[EMAIL PROTECTED]>
CommitDate: Sat Oct 13 23:56:33 2007 +0200

    i2c-nforce2: Declare PEC as supported
    
    The i2c-nforce2 driver has SMBus PEC support, so it should say so.
    
    Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
---
 drivers/i2c/busses/i2c-nforce2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c
index c359eab..1bf590c 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)
        /* other functionality might be possible, but is not tested */
        return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE |
               I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA |
+              I2C_FUNC_SMBUS_PEC |
               (((struct nforce2_smbus*)adapter->algo_data)->blockops ?
                I2C_FUNC_SMBUS_BLOCK_DATA : 0);
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to