diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2003-04-09 00:36:21 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2003-04-09 00:36:21 -0700 |
| commit | 7481987d0b9bae116de5f5b388910c44df784eff (patch) | |
| tree | 71d3d045324e62e1570413ef889b90dcf8ff94a0 /include/linux/i2c-dev.h | |
| parent | 8f84a3f1f769972d81773a86e84bc077761f7d3a (diff) | |
i2c: clean up i2c-dev.c's formatting, DEBUG, and ioctl mess
Diffstat (limited to 'include/linux/i2c-dev.h')
| -rw-r--r-- | include/linux/i2c-dev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/i2c-dev.h b/include/linux/i2c-dev.h index 3803c36293a8..dd2e43c66905 100644 --- a/include/linux/i2c-dev.h +++ b/include/linux/i2c-dev.h @@ -31,16 +31,16 @@ /* This is the structure as used in the I2C_SMBUS ioctl call */ struct i2c_smbus_ioctl_data { - char read_write; + __u8 read_write; __u8 command; - int size; + __u32 size; union i2c_smbus_data *data; }; /* This is the structure as used in the I2C_RDWR ioctl call */ struct i2c_rdwr_ioctl_data { struct i2c_msg *msgs; /* pointers to i2c_msgs */ - int nmsgs; /* number of i2c_msgs */ + __u32 nmsgs; /* number of i2c_msgs */ }; #endif /* _LINUX_I2C_DEV_H */ |
