Changeset 4058
- Timestamp:
- 06/23/06 19:46:23 (7 years ago)
- Location:
- i2c/trunk
- Files:
-
- 3 modified
-
CHANGES (modified) (1 diff)
-
kernel/i2c-core.c (modified) (2 diffs)
-
kernel/i2c.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
i2c/trunk/CHANGES
r4047 r4058 18 18 ----------------------------------------------------------------------------- 19 19 20 CVSHEAD20 SVN HEAD 21 21 Makefile: Fix i2c-pcf8584.h installation 22 22 Makefile: Fix depmod on non-running kernel version 23 i2c-core, i2c.h: Mark block write buffers as const (2.6 backport) 23 24 i2c-iop3xx: Fix return value of master_xfer method 24 25 -
i2c/trunk/kernel/i2c-core.c
r4018 r4058 1092 1092 1093 1093 extern s32 i2c_smbus_write_block_data(struct i2c_client * client, 1094 u8 command, u8 length, u8 *values)1094 u8 command, u8 length, const u8 *values) 1095 1095 { 1096 1096 union i2c_smbus_data data; … … 1144 1144 1145 1145 extern s32 i2c_smbus_write_i2c_block_data(struct i2c_client * client, 1146 u8 command, u8 length, u8 *values) 1146 u8 command, u8 length, 1147 const u8 *values) 1147 1148 { 1148 1149 union i2c_smbus_data data; -
i2c/trunk/kernel/i2c.h
r4027 r4058 111 111 extern s32 i2c_smbus_write_block_data(struct i2c_client * client, 112 112 u8 command, u8 length, 113 u8 *values);113 const u8 *values); 114 114 /* Returns the number of read bytes */ 115 115 extern s32 i2c_smbus_read_i2c_block_data(struct i2c_client * client, … … 117 117 extern s32 i2c_smbus_write_i2c_block_data(struct i2c_client * client, 118 118 u8 command, u8 length, 119 u8 *values);119 const u8 *values); 120 120 121 121
