OSDN Git Service

i2c: Update comment of I2C_FUNC_SMBUS_*_I2C_BLOCK
authorJean Delvare <khali@linux-fr.org>
Fri, 31 Oct 2008 18:56:19 +0000 (19:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 9 Nov 2008 14:06:08 +0000 (15:06 +0100)
Update the comment of I2C_FUNC_SMBUS_*_I2C_BLOCK, makes it in line
with the external i2c repository and the 2.6 kernel.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
include/linux/i2c.h

index fae04e0..49bef85 100644 (file)
@@ -379,8 +379,8 @@ struct i2c_msg {
 #define I2C_FUNC_SMBUS_PROC_CALL       0x00800000 
 #define I2C_FUNC_SMBUS_READ_BLOCK_DATA 0x01000000 
 #define I2C_FUNC_SMBUS_WRITE_BLOCK_DATA 0x02000000 
-#define I2C_FUNC_SMBUS_READ_I2C_BLOCK  0x04000000 /* New I2C-like block */
-#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 /* transfer */
+#define I2C_FUNC_SMBUS_READ_I2C_BLOCK  0x04000000 /* I2C-like block xfer  */
+#define I2C_FUNC_SMBUS_WRITE_I2C_BLOCK 0x08000000 /* w/ 1-byte reg. addr. */
 
 #define I2C_FUNC_SMBUS_BYTE (I2C_FUNC_SMBUS_READ_BYTE | \
                              I2C_FUNC_SMBUS_WRITE_BYTE)