diff options
author | ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com> | 2012-11-08 17:03:07 +0530 |
---|---|---|
committer | Rajanikanth H.V <rajanikanth.hv@linaro.org> | 2012-11-09 11:45:15 +0530 |
commit | 985e28d021f2e0b1298ce143eda0d0c11ffef63d (patch) | |
tree | c375efd0d3a4a1ad9e8b2b7eb3cce13b36878ee1 /include/linux/l3g4200d.h | |
parent | f1408f95e92772efca79dbdbc26d802a459831d9 (diff) |
st-mems-sensors: Sensor Code Migration to IIO framework
Signed-off-by: ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>
Diffstat (limited to 'include/linux/l3g4200d.h')
-rw-r--r-- | include/linux/l3g4200d.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/linux/l3g4200d.h b/include/linux/l3g4200d.h index 28459601e4f..7f2b7abee88 100644 --- a/include/linux/l3g4200d.h +++ b/include/linux/l3g4200d.h @@ -10,9 +10,16 @@ #define __L3G4200D_H__ #ifdef __KERNEL__ +/** + * struct l3g4200d_gyr_platform_data - platform datastructure for l3g4200d + * @axis_map_x: x axis position on the hardware, 0 1 or 2 + * @axis_map_y: y axis position on the hardware, 0 1 or 2 + * @axis_map_z: z axis position on the hardware, 0 1 or 2 + * @negative_x: x axis is orientation, 0 or 1 + * @negative_y: y axis is orientation, 0 or 1 + * @negative_z: z axis is orientation, 0 or 1 + */ struct l3g4200d_gyr_platform_data { - const char *name_gyr; - u8 axis_map_x; u8 axis_map_y; u8 axis_map_z; |