提交 a68e2f48 编写于 作者: J Jan Veldeman 提交者: Greg Kroah-Hartman

[PATCH] I2C: Documentation fix

Fix documentation to match code in include/linux/i2c-dev.h
Signed-off-by: NJan Veldeman <jan@mind.be>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 61f5809d
...@@ -97,10 +97,10 @@ ioctl(file,I2C_PEC,long select) ...@@ -97,10 +97,10 @@ ioctl(file,I2C_PEC,long select)
ioctl(file,I2C_FUNCS,unsigned long *funcs) ioctl(file,I2C_FUNCS,unsigned long *funcs)
Gets the adapter functionality and puts it in *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. 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 */ struct i2c_msg *msgs; /* ptr to array of simple messages */
int nmsgs; /* number of messages to exchange */ int nmsgs; /* number of messages to exchange */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册