summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/l3g4200d.h11
-rw-r--r--include/linux/lsm303dlh.h4
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;