diff options
Diffstat (limited to 'include/uapi/linux/i2c-dev.h')
-rw-r--r-- | include/uapi/linux/i2c-dev.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/uapi/linux/i2c-dev.h b/include/uapi/linux/i2c-dev.h index 3f311551795d..839d25add7a5 100644 --- a/include/uapi/linux/i2c-dev.h +++ b/include/uapi/linux/i2c-dev.h @@ -20,11 +20,11 @@ MA 02110-1301 USA. */ -#ifndef _UAPI_LINUX_I2C_DEV_H -#define _UAPI_LINUX_I2C_DEV_H +#ifndef _LINUX_I2C_DEV_H +#define _LINUX_I2C_DEV_H #include <linux/types.h> -#include <linux/compiler.h> + /* /dev/i2c-X ioctl commands. The ioctl's parameter is always an * unsigned long, except for: @@ -57,16 +57,16 @@ struct i2c_smbus_ioctl_data { __u8 read_write; __u8 command; __u32 size; - union i2c_smbus_data __user *data; + 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 __user *msgs; /* pointers to i2c_msgs */ + struct i2c_msg *msgs; /* pointers to i2c_msgs */ __u32 nmsgs; /* number of i2c_msgs */ }; #define I2C_RDRW_IOCTL_MAX_MSGS 42 -#endif /* _UAPI_LINUX_I2C_DEV_H */ +#endif /* _LINUX_I2C_DEV_H */ |