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 | |
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')
-rw-r--r-- | include/linux/l3g4200d.h | 11 | ||||
-rw-r--r-- | include/linux/lsm303dlh.h | 4 |
2 files changed, 9 insertions, 6 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; diff --git a/include/linux/lsm303dlh.h b/include/linux/lsm303dlh.h index a565faa79ba..b9a399d4ee3 100644 --- a/include/linux/lsm303dlh.h +++ b/include/linux/lsm303dlh.h @@ -31,8 +31,6 @@ #ifdef __KERNEL__ /** * struct lsm303dlh_platform_data - platform datastructure for lsm303dlh - * @name_a: accelerometer name - * @name_m: magnetometer name * @irq_a1: interrupt line 1 of accelerometer * @irq_a2: interrupt line 2 of accelerometer * @irq_m: interrupt line of magnetometer @@ -45,8 +43,6 @@ * @chip_id: to store ID of the LSM chip */ struct lsm303dlh_platform_data { - const char *name_a; - const char *name_m; u32 irq_a1; u32 irq_a2; u32 irq_m; |