summaryrefslogtreecommitdiffstats
path: root/include/linux
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
parent8254fc4afcc81e69428c453cc216aa612c80e98b (diff)
downloadtalos-obmc-linux-21bbd691827e3610ef975a88863859381ac8d8e0.tar.gz
talos-obmc-linux-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')
-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
OpenPOWER on IntegriCloud