diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-01-09 15:19:18 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-02-06 12:02:14 -0800 |
commit | 21bbd691827e3610ef975a88863859381ac8d8e0 (patch) | |
tree | 3fc8283b25f55f4f216b4fc1bda64fd10335861e /include/linux/i2c.h | |
parent | 8254fc4afcc81e69428c453cc216aa612c80e98b (diff) | |
download | op-kernel-dev-21bbd691827e3610ef975a88863859381ac8d8e0.zip op-kernel-dev-21bbd691827e3610ef975a88863859381ac8d8e0.tar.gz |
[PATCH] I2C: Resurrect i2c_smbus_write_i2c_block_data.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r-- | include/linux/i2c.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 7863a59..63f1d63 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -100,6 +100,9 @@ extern s32 i2c_smbus_write_block_data(struct i2c_client * client, /* 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); /* * A driver is capable of handling one or more physical devices present on |