Changeset 5688
- Timestamp:
- 03/18/09 11:17:06 (4 years ago)
- Location:
- i2c/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
kernel/i2c-core.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
i2c/trunk/CHANGES
r5570 r5688 11 11 Makefile: Fallback to simple depmod if System.map can't be found 12 12 doc/writing-clients: Cleanups (2.6 backport) 13 i2c.h: Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines 13 i2c.h: Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines (2.6 backport) 14 14 i2c-core: Drop Linux 2.4 incompatibility mode 15 Fix misplaced parentheses (2.6 backport) 15 16 16 17 2.10.5 (20071024) -
i2c/trunk/kernel/i2c-core.c
r5571 r5688 1176 1176 msg[0].len = 0; 1177 1177 /* Special case: The read/write field is used as data */ 1178 msg[0].flags = flags | (read_write==I2C_SMBUS_READ)?I2C_M_RD:0; 1178 msg[0].flags = flags | (read_write == I2C_SMBUS_READ ? 1179 I2C_M_RD : 0); 1179 1180 num = 1; 1180 1181 break;
