diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-06-04 19:45:34 +0800 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-06-04 19:45:34 +0800 |
commit | 06c48e022c9737a840da15fd47c7df24dc5d5b9a (patch) | |
tree | b4dfddbb2c074254d747ba28b4fd9e1229082247 /include/linux/l3g4200d.h | |
parent | 416f7ed72d4a115d473df16bab92b46c5d120ef1 (diff) | |
parent | 56bde254da35de0eea481035bfcd50dbec3ea22f (diff) |
Merge topic branch 'st-mems-sensors' into integration-linux-ux500
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
Diffstat (limited to 'include/linux/l3g4200d.h')
-rw-r--r-- | include/linux/l3g4200d.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/l3g4200d.h b/include/linux/l3g4200d.h new file mode 100644 index 00000000000..28459601e4f --- /dev/null +++ b/include/linux/l3g4200d.h @@ -0,0 +1,27 @@ +/* + * ST L3G4200D 3-Axis Gyroscope header file + * + * Copyright (C) ST-Ericsson SA 2011 + * Author: Chethan Krishna N <chethan.krishna@stericsson.com> for ST-Ericsson + * Licence terms: GNU General Public Licence (GPL) version 2 + */ + +#ifndef __L3G4200D_H__ +#define __L3G4200D_H__ + +#ifdef __KERNEL__ +struct l3g4200d_gyr_platform_data { + const char *name_gyr; + + u8 axis_map_x; + u8 axis_map_y; + u8 axis_map_z; + + u8 negative_x; + u8 negative_y; + u8 negative_z; +}; + +#endif /* __KERNEL__ */ + +#endif /* __L3G4200D_H__ */ |