aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2006-01-09 15:19:18 +1100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-02-06 12:02:14 -0800
commit21bbd691827e3610ef975a88863859381ac8d8e0 (patch)
tree3fc8283b25f55f4f216b4fc1bda64fd10335861e /include/linux/i2c.h
parent[PATCH] i2c-i801: I2C patch for Intel ICH8 (diff)
downloadlinux-dev-21bbd691827e3610ef975a88863859381ac8d8e0.tar.xz
linux-dev-21bbd691827e3610ef975a88863859381ac8d8e0.zip
[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