diff options
author | Jean Delvare <jdelvare@suse.de> | 2015-09-08 11:05:49 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-23 23:26:43 +0200 |
commit | c57d3e7a9391c03ae7ee5572be850284393f5bef (patch) | |
tree | 5a1cb37a4a7b31853217b4f213d2d43e68d01c86 /include/uapi | |
parent | d64d45cb95e6f9edf58fab49cfc5a7a60ff1a122 (diff) | |
download | op-kernel-dev-c57d3e7a9391c03ae7ee5572be850284393f5bef.zip op-kernel-dev-c57d3e7a9391c03ae7ee5572be850284393f5bef.tar.gz |
i2c-dev: Fix typo in ioctl name reference
The ioctl is named I2C_RDWR for "I2C read/write". But references to it
were misspelled "rdrw". Fix them.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/i2c-dev.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/i2c-dev.h b/include/uapi/linux/i2c-dev.h index 3f31155..2f05e66 100644 --- a/include/uapi/linux/i2c-dev.h +++ b/include/uapi/linux/i2c-dev.h @@ -66,7 +66,9 @@ struct i2c_rdwr_ioctl_data { __u32 nmsgs; /* number of i2c_msgs */ }; -#define I2C_RDRW_IOCTL_MAX_MSGS 42 +#define I2C_RDWR_IOCTL_MAX_MSGS 42 +/* Originally defined with a typo, keep it for compatibility */ +#define I2C_RDRW_IOCTL_MAX_MSGS I2C_RDWR_IOCTL_MAX_MSGS #endif /* _UAPI_LINUX_I2C_DEV_H */ |