Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28647
b: refs/heads/master
c: 46f5ed7
h: refs/heads/master
i:
  28645: b07e485
  28643: 7606da2
  28639: 90d460f
v: v3
  • Loading branch information
Krzysztof Halasa authored and Greg Kroah-Hartman committed Jun 22, 2006
1 parent 8e1f784 commit 5fe87cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ded969fb97fba33e7310ef95f0b3e3123d4d92a
refs/heads/master: 46f5ed753fac512f73069bd07455555b41a8a06e
4 changes: 2 additions & 2 deletions trunk/drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ s32 i2c_smbus_write_word_data(struct i2c_client *client, u8 command, u16 value)
}

s32 i2c_smbus_write_block_data(struct i2c_client *client, u8 command,
u8 length, u8 *values)
u8 length, const u8 *values)
{
union i2c_smbus_data data;

Expand Down Expand Up @@ -944,7 +944,7 @@ s32 i2c_smbus_read_i2c_block_data(struct i2c_client *client, u8 command, u8 *val
}

s32 i2c_smbus_write_i2c_block_data(struct i2c_client *client, u8 command,
u8 length, u8 *values)
u8 length, const u8 *values)
{
union i2c_smbus_data data;

Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ extern s32 i2c_smbus_write_word_data(struct i2c_client * client,
u8 command, u16 value);
extern s32 i2c_smbus_write_block_data(struct i2c_client * client,
u8 command, u8 length,
u8 *values);
const u8 *values);
/* Returns the number of read bytes */
extern s32 i2c_smbus_read_i2c_block_data(struct i2c_client * client,
u8 command, u8 *values);
extern s32 i2c_smbus_write_i2c_block_data(struct i2c_client * client,
u8 command, u8 length,
u8 *values);
const u8 *values);

/*
* A driver is capable of handling one or more physical devices present on
Expand Down

0 comments on commit 5fe87cd

Please sign in to comment.