Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
include
/
uapi
/
linux
/
i2c-dev.h
diff --git
a/kernel/include/uapi/linux/i2c-dev.h
b/kernel/include/uapi/linux/i2c-dev.h
index
3f31155
..
2f05e66
100644
(file)
--- a/
kernel/include/uapi/linux/i2c-dev.h
+++ b/
kernel/include/uapi/linux/i2c-dev.h
@@
-66,7
+66,9
@@
struct i2c_rdwr_ioctl_data {
__u32 nmsgs; /* number of i2c_msgs */
};
__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 */
#endif /* _UAPI_LINUX_I2C_DEV_H */