From 7481987d0b9bae116de5f5b388910c44df784eff Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 9 Apr 2003 00:36:21 -0700 Subject: i2c: clean up i2c-dev.c's formatting, DEBUG, and ioctl mess --- include/linux/i2c-dev.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/linux/i2c-dev.h') 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 */ -- cgit v1.2.3