summaryrefslogtreecommitdiffstats
path: root/Documentation/i2c
diff options
context:
space:
mode:
authorJan Veldeman <jan@mind.be>2005-07-01 16:20:24 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-11 23:10:37 +0200
commita68e2f4895070f3a449bfe5ae1174b73cc900642 (patch)
tree76f3e9e4da1f261687b51aad6c8be3534788e63f /Documentation/i2c
parent[PATCH] I2C: minor I2C doc cleanups (diff)
downloadlinux-a68e2f4895070f3a449bfe5ae1174b73cc900642.tar.xz
linux-a68e2f4895070f3a449bfe5ae1174b73cc900642.zip
[PATCH] I2C: Documentation fix
Fix documentation to match code in include/linux/i2c-dev.h Signed-off-by: Jan Veldeman <jan@mind.be> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/i2c')
-rw-r--r--Documentation/i2c/dev-interface4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/i2c/dev-interface b/Documentation/i2c/dev-interface
index 09d6cda2a1fb..a78ea62506ee 100644
--- a/Documentation/i2c/dev-interface
+++ b/Documentation/i2c/dev-interface
@@ -97,10 +97,10 @@ ioctl(file,I2C_PEC,long select)
ioctl(file,I2C_FUNCS,unsigned long *funcs)
Gets the adapter functionality and puts it in *funcs.
-ioctl(file,I2C_RDWR,struct i2c_ioctl_rdwr_data *msgset)
+ioctl(file,I2C_RDWR,struct i2c_rdwr_ioctl_data *msgset)
Do combined read/write transaction without stop in between.
- The argument is a pointer to a struct i2c_ioctl_rdwr_data {
+ The argument is a pointer to a struct i2c_rdwr_ioctl_data {
struct i2c_msg *msgs; /* ptr to array of simple messages */
int nmsgs; /* number of messages to exchange */