X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Flinux%2Fi2c.h;h=5970266930a26f0517208b03336646232067dc1a;hb=517d3c602b6dd51514e0621ef3c921a2128ef6d0;hp=1d0fe4877b1fa0fdd4c9e2c36a4f154874de8cc1;hpb=c1b669b72a05aeae0882742dd40f30d51732ed15;p=karo-tx-linux.git diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 1d0fe4877b1f..5970266930a2 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -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,