aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/i2c/dev-interface
diff options
context:
space:
mode:
authorJan Veldeman <jan@mind.be>2005-07-01 10:20:24 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-11 17:10:37 -0400
commita68e2f4895070f3a449bfe5ae1174b73cc900642 (patch)
tree76f3e9e4da1f261687b51aad6c8be3534788e63f /Documentation/i2c/dev-interface
parent61f5809d3ebce9d5433b8696048e91405b681023 (diff)
[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/dev-interface')
-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)
97ioctl(file,I2C_FUNCS,unsigned long *funcs) 97ioctl(file,I2C_FUNCS,unsigned long *funcs)
98 Gets the adapter functionality and puts it in *funcs. 98 Gets the adapter functionality and puts it in *funcs.
99 99
100ioctl(file,I2C_RDWR,struct i2c_ioctl_rdwr_data *msgset) 100ioctl(file,I2C_RDWR,struct i2c_rdwr_ioctl_data *msgset)
101 101
102 Do combined read/write transaction without stop in between. 102 Do combined read/write transaction without stop in between.
103 The argument is a pointer to a struct i2c_ioctl_rdwr_data { 103 The argument is a pointer to a struct i2c_rdwr_ioctl_data {
104 104
105 struct i2c_msg *msgs; /* ptr to array of simple messages */ 105 struct i2c_msg *msgs; /* ptr to array of simple messages */
106 int nmsgs; /* number of messages to exchange */ 106 int nmsgs; /* number of messages to exchange */