kernel: add i2c mangle hook

This commit is contained in:
Jaroslav Kysela
2015-04-20 15:37:38 +02:00
parent e86bc1fc87
commit 98e0d6d0e2
2 changed files with 14 additions and 10 deletions

View File

@@ -60,6 +60,8 @@ extern int i2c_master_recv(struct i2c_client *client, char *buf, int count);
/* Transfer num messages.
*/
extern int (*i2c_transfer_mangle)
(struct i2c_adapter *adap, struct i2c_msg *msgs, int num);
extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
int num);