Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. static inline __s32 i2c_smbus_access(int file, char read_write, __u8 command,
  2. int size, union i2c_smbus_data *data)
  3. {
  4. struct i2c_smbus_ioctl_data args;
  5.  
  6. args.read_write = read_write;
  7. args.command = command;
  8. args.size = size;
  9. args.data = data;
  10. return ioctl(file,I2C_SMBUS,&args);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement