projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76bc099
)
i2c: rockchip: i2c_msg add scl_rate for compat support old driver
author
黄涛
<huangtao@rock-chips.com>
Fri, 13 Dec 2013 11:44:36 +0000
(19:44 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 13 Dec 2013 11:44:36 +0000
(19:44 +0800)
include/uapi/linux/i2c.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/i2c.h
b/include/uapi/linux/i2c.h
index 0e949cbfd333388fc12d42bcf26e91a2cf1524cf..740002ed9b33f2545d78aaad59a6f0f388128f0f 100644
(file)
--- a/
include/uapi/linux/i2c.h
+++ b/
include/uapi/linux/i2c.h
@@
-78,6
+78,9
@@
struct i2c_msg {
#define I2C_M_RECV_LEN 0x0400 /* length will be first received byte */
__u16 len; /* msg length */
__u8 *buf; /* pointer to msg data */
+#ifdef CONFIG_I2C_ROCKCHIP_COMPAT
+ __u32 scl_rate; /* add by kfx */
+#endif
};
/* To determine what functionality is present */