Skip to content

Commit a68e2f4

Browse files
Jan Veldemangregkh
authored andcommitted
[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>
1 parent 61f5809 commit a68e2f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Documentation/i2c/dev-interface‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ ioctl(file,I2C_PEC,long select)
9797
ioctl(file,I2C_FUNCS,unsigned long *funcs)
9898
Gets the adapter functionality and puts it in *funcs.
9999

100-
ioctl(file,I2C_RDWR,struct i2c_ioctl_rdwr_data *msgset)
100+
ioctl(file,I2C_RDWR,struct i2c_rdwr_ioctl_data *msgset)
101101

102102
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 {
104104

105105
struct i2c_msg *msgs; /* ptr to array of simple messages */
106106
int nmsgs; /* number of messages to exchange */

0 commit comments

Comments
 (0)