aboutsummaryrefslogtreecommitdiffstats
path: root/libc/kernel/uapi/linux/i2c-dev.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-01-28 10:07:51 -0800
committerTao Bao <tbao@google.com>2015-02-06 14:48:41 -0800
commitd7db594b8d1dab36b711bd887a9dd21675c87243 (patch)
tree214b4e6e4510386ffc05c9a43dd3c153c6cf89a0 /libc/kernel/uapi/linux/i2c-dev.h
parent11829be3e1a9e9e2271ba64a78c327bde6e044eb (diff)
downloadandroid_bionic-d7db594b8d1dab36b711bd887a9dd21675c87243.tar.gz
android_bionic-d7db594b8d1dab36b711bd887a9dd21675c87243.tar.bz2
android_bionic-d7db594b8d1dab36b711bd887a9dd21675c87243.zip
Switch kernel header parsing to python libclang
Replace the tokenizer in cpp.py with libclang. Bug: 18937958 Change-Id: I27630904c6d2849418cd5ca3d3c612ec3078686d
Diffstat (limited to 'libc/kernel/uapi/linux/i2c-dev.h')
-rw-r--r--libc/kernel/uapi/linux/i2c-dev.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libc/kernel/uapi/linux/i2c-dev.h b/libc/kernel/uapi/linux/i2c-dev.h
index 92db53d07..626f4eee6 100644
--- a/libc/kernel/uapi/linux/i2c-dev.h
+++ b/libc/kernel/uapi/linux/i2c-dev.h
@@ -33,16 +33,16 @@
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define I2C_SMBUS 0x0720
struct i2c_smbus_ioctl_data {
- __u8 read_write;
- __u8 command;
+ __u8 read_write;
+ __u8 command;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- __u32 size;
- union i2c_smbus_data __user *data;
+ __u32 size;
+ union i2c_smbus_data __user * data;
};
struct i2c_rdwr_ioctl_data {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
- struct i2c_msg __user *msgs;
- __u32 nmsgs;
+ struct i2c_msg __user * msgs;
+ __u32 nmsgs;
};
#define I2C_RDRW_IOCTL_MAX_MSGS 42
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */