summaryrefslogtreecommitdiff
path: root/include/linux/i2c-dev.h
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@kozmo.(none)>2003-04-11 07:51:00 -0700
committerJames Simmons <jsimmons@kozmo.(none)>2003-04-11 07:51:00 -0700
commit39074c8cbbb5a17ff7c1e523f1496c63d5ed9848 (patch)
tree78c0bdcf27a24252f030d7beec88ac96278346b8 /include/linux/i2c-dev.h
parent808c8a580dc03b5431d888e84dd597eeca3f097c (diff)
parent21347414286dfc62520a100b1affa2040c16c198 (diff)
Merge kozmo.(none):/usr/src/linus-2.5
into kozmo.(none):/usr/src/fbdev-2.5
Diffstat (limited to 'include/linux/i2c-dev.h')
-rw-r--r--include/linux/i2c-dev.h6
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 */