patch-2.4.21 linux-2.4.21/include/linux/i2c-dev.h

Next file: linux-2.4.21/include/linux/i2c-id.h
Previous file: linux-2.4.21/include/linux/highmem.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/linux/i2c-dev.h linux-2.4.21/include/linux/i2c-dev.h
@@ -33,16 +33,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 */
 };
 
 #ifndef __KERNEL__

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)