add i2c
author柯飞雄 <kfx@rock-chips.com>
Tue, 11 May 2010 14:19:49 +0000 (14:19 +0000)
committer黄涛 <huangtao@rock-chips.com>
Mon, 21 Jun 2010 05:34:50 +0000 (13:34 +0800)
include/linux/i2c.h

index 7b40cda57a702273fcbdeb7ba7487fdfe1406aff..12aa6e625ea5cba281b1491cdd3501aca2f5a326 100644 (file)
@@ -511,6 +511,7 @@ 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                  */
+       __u32 scl_rate;
 };
 
 /* To determine what functionality is present */