Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static inline __s32 i2c_smbus_access(int file, char read_write, __u8 command,
- int size, union i2c_smbus_data *data)
- {
- struct i2c_smbus_ioctl_data args;
- args.read_write = read_write;
- args.command = command;
- args.size = size;
- args.data = data;
- return ioctl(file,I2C_SMBUS,&args);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement