summaryrefslogtreecommitdiff
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2006-01-09 07:19:18 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2006-02-06 23:02:14 +0300
commit21bbd691827e3610ef975a88863859381ac8d8e0 (patch)
tree3fc8283b25f55f4f216b4fc1bda64fd10335861e /include/linux/i2c.h
parent8254fc4afcc81e69428c453cc216aa612c80e98b (diff)
downloadlinux-21bbd691827e3610ef975a88863859381ac8d8e0.tar.xz
[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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 7863a59bd598..63f1d63cc1d8 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