]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/i2c.h
[media] i2c: Export an unlocked flavor of i2c_transfer
[karo-tx-linux.git] / include / linux / i2c.h
index 195d8b3d9cfbf9b9363367f5604aaec029c68e20..a121c012309a62c1be284fd056dcf19fde2b3c89 100644 (file)
@@ -68,6 +68,9 @@ extern int i2c_master_recv(const struct i2c_client *client, char *buf,
  */
 extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
                        int num);
+/* Unlocked flavor */
+extern int __i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
+                         int num);
 
 /* This is the very generalized SMBus access routine. You probably do not
    want to use this, though; one of the functions below may be much easier,